Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 114 kB / 16.42 MB, free: 6.449 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.002352/0.002352, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 59.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9843/0.9858, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002295/0.9882, allocations: 0.8197 MB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.9884, allocations: 39.78 kB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.9885, allocations: 0 / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.9885, allocations: 11.88 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.9887, allocations: 15.92 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.691e-05/0.9887, allocations: 15.98 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.9889, allocations: 67.7 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.989, allocations: 43.98 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.9891, allocations: 31.86 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.9892, allocations: 23.86 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.9892, allocations: 4 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.9892, allocations: 8 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.9893, allocations: 11.92 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.9893, allocations: 35.8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.9895, allocations: 79.64 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9895, allocations: 0 / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9895, allocations: 0 / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.9895, allocations: 0 / 1.168 GB, free: 2.688 MB / 0.8887 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.0005609/0.9901, allocations: 388.8 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.9901, allocations: 8.922 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.9902, allocations: 12.78 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.9904, allocations: 192.2 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.9904, allocations: 4.375 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.9905, allocations: 12.36 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.9907, allocations: 90.39 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.9907, allocations: 8.172 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.9907, allocations: 7.938 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.9907, allocations: 4 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.9908, allocations: 35.92 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.9915, allocations: 432.6 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.9916, allocations: 49.25 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.9916, allocations: 17.78 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.9916, allocations: 0 / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.9917, allocations: 38.55 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.9917, allocations: 0 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.9919, allocations: 57.48 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.9919, allocations: 77.11 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.9921, allocations: 160.7 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.9921, allocations: 25.7 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.9923, allocations: 104 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.9923, allocations: 11.91 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.9923, allocations: 13.72 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9925, allocations: 323.1 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.9925, allocations: 8 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.9925, allocations: 21.64 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.9926, allocations: 33.66 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9926, allocations: 0 / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.175e-05/0.9927, allocations: 57.55 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9927, allocations: 8.062 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9927, allocations: 0 / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9928, allocations: 7.938 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.9928, allocations: 7.984 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9928, allocations: 3.938 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.9929, allocations: 7.906 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.9929, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 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.801e-05/0.993, allocations: 113.8 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.993, allocations: 7.906 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.9931, allocations: 23.8 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9931, allocations: 0 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9931, allocations: 0 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.9932, allocations: 89.02 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.9932, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.9933, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.9933, allocations: 11.92 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001561/0.9935, allocations: 188.3 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002156/0.9937, allocations: 302 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.377e-05/0.9938, allocations: 8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001048/0.9939, allocations: 121.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/0.9939, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.9944, allocations: 102.3 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006228/0.995, allocations: 0.6005 MB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.002978/0.998, allocations: 0.5239 MB / 1.173 GB, free: 14.06 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches