Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 105.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 159.1 MB / 1.221 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002452/1.037, allocations: 0.8237 MB / 1.222 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/1.037, allocations: 35.86 kB / 1.222 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/1.037, allocations: 7.938 kB / 1.222 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/1.037, allocations: 7.922 kB / 1.222 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/1.037, allocations: 11.86 kB / 1.222 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.834e-05/1.037, allocations: 19.98 kB / 1.222 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/1.037, allocations: 63.78 kB / 1.222 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/1.037, allocations: 59.78 kB / 1.222 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/1.037, allocations: 19.88 kB / 1.222 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/1.037, allocations: 27.84 kB / 1.222 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/1.037, allocations: 8 kB / 1.222 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/1.037, allocations: 4 kB / 1.222 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/1.038, allocations: 15.94 kB / 1.222 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/1.038, allocations: 43.78 kB / 1.222 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/1.038, allocations: 67.66 kB / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.038, allocations: 0 / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/1.038, allocations: 0 / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.691e-06/1.038, allocations: 4 kB / 1.222 GB, free: 1.176 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005367/1.038, allocations: 387.4 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.038, allocations: 8.625 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/1.038, allocations: 16.78 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/1.039, allocations: 188.2 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.039, allocations: 8.375 kB / 1.223 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/1.039, allocations: 4.375 kB / 1.223 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/1.039, allocations: 101.7 kB / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.039, allocations: 192 / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.039, allocations: 3.938 kB / 1.223 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.039, allocations: 0 / 1.223 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/1.039, allocations: 39.92 kB / 1.223 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/1.04, allocations: 432.5 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/1.04, allocations: 49.28 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/1.04, allocations: 25.83 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/1.04, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.04, allocations: 30.56 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/1.04, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/1.04, allocations: 61.48 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.04, allocations: 77.11 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/1.04, allocations: 160.9 kB / 1.224 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.04, allocations: 25.7 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/1.04, allocations: 107.9 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/1.04, allocations: 0 / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/1.04, allocations: 21.62 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.041, allocations: 327.1 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/1.041, allocations: 7.938 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/1.041, allocations: 21.7 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/1.041, allocations: 25.72 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.041, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.118e-05/1.041, allocations: 61.52 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.041, allocations: 11.98 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.041, allocations: 4 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.041, allocations: 3.938 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/1.041, allocations: 8 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.041, allocations: 3.938 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/1.041, allocations: 0 / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/1.041, allocations: 4 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/1.041, allocations: 116.5 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/1.041, allocations: 11.94 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/1.041, allocations: 15.8 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.041, allocations: 4 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.041, allocations: 0 / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/1.041, allocations: 81.02 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.041, allocations: 7.984 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/1.041, allocations: 8.031 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/1.041, allocations: 3.984 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000133/1.041, allocations: 192.3 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001869/1.042, allocations: 297.9 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.192e-05/1.042, allocations: 8 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001025/1.042, allocations: 121.3 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of Backend: time 4.1e-07/1.042, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000474/1.042, allocations: 104.2 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007852/1.043, allocations: 0.6121 MB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of Templates: time 0.00396/1.047, allocations: 0.5209 MB / 1.226 GB, free: 12.54 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches