Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001069/0.001069, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.64/2.64, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003726, allocations: 15.94 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.8544, allocations: 142.4 MB / 0.9544 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001105/0.8556, allocations: 0.5158 MB / 0.9549 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.8558, allocations: 41.03 kB / 0.955 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.8559, allocations: 5.219 kB / 0.955 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.8559, allocations: 3.938 kB / 0.955 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.856, allocations: 1.031 kB / 0.955 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.09e-05/0.8561, allocations: 15.36 kB / 0.955 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.8562, allocations: 54 kB / 0.9551 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.8563, allocations: 26.3 kB / 0.9551 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.8564, allocations: 25.86 kB / 0.9551 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.8565, allocations: 23.48 kB / 0.9551 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.8565, allocations: 2.312 kB / 0.9551 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-06/0.8565, allocations: 1.219 kB / 0.9551 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.8565, allocations: 10.42 kB / 0.9551 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.8566, allocations: 33.39 kB / 0.9552 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.457e-05/0.8567, allocations: 46.2 kB / 0.9552 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8567, allocations: 0 / 0.9552 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8567, allocations: 0 / 0.9552 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8567, allocations: 1.438 kB / 0.9552 GB, free: 7.328 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.000396/0.8571, allocations: 372.1 kB / 0.9556 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.8571, allocations: 16.8 kB / 0.9556 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.8572, allocations: 16.02 kB / 0.9556 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.8574, allocations: 185.4 kB / 0.9558 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.8574, allocations: 7.406 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.8575, allocations: 4.094 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.8576, allocations: 93.39 kB / 0.9559 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.8577, allocations: 5.25 kB / 0.9559 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.8577, allocations: 0 / 0.9559 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.8577, allocations: 10.67 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.8578, allocations: 38.84 kB / 0.9559 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.8584, allocations: 438.5 kB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.475e-05/0.8584, allocations: 40.56 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.8585, allocations: 19.19 kB / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8585, allocations: 1 kB / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.8585, allocations: 39.7 kB / 0.9565 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.8585, allocations: 4 kB / 0.9565 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.8587, allocations: 50.7 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.8588, allocations: 78.08 kB / 0.9566 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.8589, allocations: 163.6 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.8589, allocations: 25.7 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.859, allocations: 105 kB / 0.9569 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.859, allocations: 13.16 kB / 0.9569 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.859, allocations: 0 / 0.9569 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.8591, allocations: 329.5 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.8591, allocations: 3.438 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.8592, allocations: 18.44 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.8592, allocations: 4.625 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8592, allocations: 0 / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.352e-05/0.8593, allocations: 62.28 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8593, allocations: 7.312 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8593, allocations: 5 kB / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8593, allocations: 0 / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.8594, allocations: 9.844 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8594, allocations: 1.094 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.8595, allocations: 1.938 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.8595, allocations: 6.016 kB / 0.9573 GB, free: 5.207 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/0.8595, allocations: 120.7 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.8596, allocations: 8.188 kB / 0.9574 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.8596, allocations: 14.97 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.8596, allocations: 1.188 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8596, allocations: 0 / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.8596, allocations: 1.219 kB / 0.9574 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.8599, allocations: 470 kB / 0.9579 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.86, allocations: 3.984 kB / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.86, allocations: 4.062 kB / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.86, allocations: 4.047 kB / 0.9579 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.86, allocations: 9.344 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.86, allocations: 1.062 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.86, allocations: 7.938 kB / 0.9579 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.523e-05/0.8601, allocations: 74.77 kB / 0.958 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.8601, allocations: 87.97 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8602, allocations: 1.562 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.8602, allocations: 8.031 kB / 0.9581 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.8602, allocations: 5.25 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.8602, allocations: 0.9375 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.8603, allocations: 119.4 kB / 0.9582 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8603, allocations: 0 / 0.9582 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002145/0.8605, allocations: 15.45 kB / 0.9582 GB, free: 4.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.8606, allocations: 104.3 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.8607, allocations: 18.28 kB / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8607, allocations: 0 / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.8608, allocations: 7.812 kB / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.8609, allocations: 7.531 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.8613, allocations: 185.2 kB / 0.9585 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.8614, allocations: 0.6911 MB / 0.9592 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.8614, allocations: 8.703 kB / 0.9592 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.8615, allocations: 11.34 kB / 0.9592 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8615, allocations: 4 kB / 0.9592 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.002703/0.8642, allocations: 414.4 kB / 0.9596 GB, free: 3.02 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches