Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001151/0.001151, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01059/0.01059, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.852, allocations: 142.4 MB / 0.955 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001001/0.853, allocations: 0.5461 MB / 0.9556 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.8531, allocations: 40.52 kB / 0.9556 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.8532, allocations: 2.188 kB / 0.9556 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.8532, allocations: 7.922 kB / 0.9556 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.8533, allocations: 9.141 kB / 0.9556 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.712e-05/0.8534, allocations: 15.62 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.8535, allocations: 55.12 kB / 0.9557 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.8537, allocations: 37.56 kB / 0.9557 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.8537, allocations: 22.52 kB / 0.9557 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.8538, allocations: 23.58 kB / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.8538, allocations: 2.125 kB / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.8538, allocations: 1.438 kB / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.8539, allocations: 10 kB / 0.9558 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.8539, allocations: 55.3 kB / 0.9558 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/0.854, allocations: 71.08 kB / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.854, allocations: 0 / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.854, allocations: 0 / 0.9559 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.854, allocations: 0 / 0.9559 GB, free: 7.164 MB / 0.7169 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.0003963/0.8544, allocations: 363.4 kB / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.8545, allocations: 8.094 kB / 0.9563 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.8545, allocations: 13.53 kB / 0.9563 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.8548, allocations: 195 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.8548, allocations: 3.75 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.8548, allocations: 13.14 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.855, allocations: 94.48 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.855, allocations: 192 / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.855, allocations: 5.469 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.855, allocations: 2.188 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.8551, allocations: 38.73 kB / 0.9566 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.8556, allocations: 438.7 kB / 0.957 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/0.8556, allocations: 41.77 kB / 0.9571 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.8557, allocations: 23.06 kB / 0.9571 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.8557, allocations: 0 / 0.9571 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.8557, allocations: 36.66 kB / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8557, allocations: 0 / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.8559, allocations: 58.25 kB / 0.9572 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.8559, allocations: 78.73 kB / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.856, allocations: 167.4 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.8561, allocations: 26.61 kB / 0.9574 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.8561, allocations: 100.2 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.8561, allocations: 16.77 kB / 0.9575 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.8562, allocations: 14.88 kB / 0.9576 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.8562, allocations: 313.2 kB / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.8562, allocations: 11.77 kB / 0.9579 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.8563, allocations: 21.88 kB / 0.9579 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.8563, allocations: 27.69 kB / 0.9579 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8563, allocations: 0 / 0.9579 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.568e-05/0.8564, allocations: 62.03 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8564, allocations: 5.281 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8564, allocations: 4.875 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8564, allocations: 0.75 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.8565, allocations: 5.438 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8565, allocations: 5.281 kB / 0.958 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.8565, allocations: 6.312 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.8566, allocations: 0.9688 kB / 0.958 GB, free: 5.008 MB / 0.7169 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 5.772e-05/0.8566, allocations: 116.2 kB / 0.9581 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.8567, allocations: 11.11 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.8567, allocations: 10.94 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8567, allocations: 0.8125 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8567, allocations: 0.875 kB / 0.9581 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8567, allocations: 5.094 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.857, allocations: 470.6 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.857, allocations: 0 / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.857, allocations: 3.062 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.857, allocations: 1.094 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.857, allocations: 5.016 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8571, allocations: 1.219 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8571, allocations: 4.062 kB / 0.9586 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.466e-05/0.8571, allocations: 85.97 kB / 0.9587 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.8572, allocations: 92.62 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8572, allocations: 0.9688 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.8572, allocations: 1 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.8572, allocations: 1.062 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8572, allocations: 5.094 kB / 0.9588 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.8573, allocations: 120.7 kB / 0.9589 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.42e-07/0.8573, allocations: 1.031 kB / 0.9589 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001888/0.8575, allocations: 14.56 kB / 0.9589 GB, free: 4.059 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001009/0.8576, allocations: 96.78 kB / 0.959 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.8577, allocations: 21.55 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8577, allocations: 1.812 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.8577, allocations: 7.812 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.8579, allocations: 17.41 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.8582, allocations: 184.8 kB / 0.9592 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.8583, allocations: 0.6993 MB / 0.9599 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.8584, allocations: 8.953 kB / 0.9599 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.8584, allocations: 10.44 kB / 0.9599 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8584, allocations: 0 / 0.9599 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.0025/0.8609, allocations: 424.2 kB / 0.9603 GB, free: 2.828 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches