Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001275/0.001275, allocations: 116.6 kB / 16.81 MB, free: 5.754 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.00124/0.00124, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.494/1.494, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 65.11 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4482, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002461/0.4507, allocations: 0.8321 MB / 1.263 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.4508, allocations: 44.12 kB / 1.263 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.4508, allocations: 0 / 1.263 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.4509, allocations: 11.86 kB / 1.263 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.451, allocations: 7.938 kB / 1.263 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.956e-05/0.4511, allocations: 15.98 kB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.4512, allocations: 63.78 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.4514, allocations: 39.88 kB / 1.263 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.4514, allocations: 23.86 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.4515, allocations: 35.78 kB / 1.263 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.4515, allocations: 4 kB / 1.263 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.4516, allocations: 8 kB / 1.263 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.4516, allocations: 15.92 kB / 1.263 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.4516, allocations: 35.8 kB / 1.263 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.4518, allocations: 79.53 kB / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4518, allocations: 0 / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4518, allocations: 0 / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4518, allocations: 0 / 1.263 GB, free: 11.73 MB / 0.9825 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.0005888/0.4524, allocations: 383.1 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4524, allocations: 8.031 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.4525, allocations: 12.84 kB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.4528, allocations: 196.2 kB / 1.264 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4528, allocations: 4.375 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.4528, allocations: 8.375 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.453, allocations: 97.81 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.453, allocations: 4.188 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.453, allocations: 7.938 kB / 1.264 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.453, allocations: 7.938 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.4531, allocations: 39.92 kB / 1.264 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.4538, allocations: 428.7 kB / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.4539, allocations: 49.28 kB / 1.264 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.4539, allocations: 17.78 kB / 1.264 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4539, allocations: 3.984 kB / 1.264 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.454, allocations: 30.56 kB / 1.264 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.454, allocations: 4 kB / 1.264 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001965/0.4542, allocations: 53.75 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.4542, allocations: 81.14 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.4544, allocations: 161.1 kB / 1.265 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4544, allocations: 25.7 kB / 1.265 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.4545, allocations: 100.1 kB / 1.265 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.4545, allocations: 11.89 kB / 1.265 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.4546, allocations: 17.67 kB / 1.265 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4547, allocations: 322.8 kB / 1.265 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.4547, allocations: 12 kB / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.4548, allocations: 21.64 kB / 1.265 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.4548, allocations: 25.72 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4548, allocations: 0 / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.4549, allocations: 57.59 kB / 1.265 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4549, allocations: 4 kB / 1.265 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4549, allocations: 8.047 kB / 1.265 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.455, allocations: 3.938 kB / 1.265 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.455, allocations: 8 kB / 1.265 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.455, allocations: 0 / 1.265 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.4551, allocations: 0 / 1.265 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4551, allocations: 4 kB / 1.265 GB, free: 9.297 MB / 0.9825 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 9.65e-05/0.4552, allocations: 113.8 kB / 1.265 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.4552, allocations: 7.953 kB / 1.265 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.4552, allocations: 15.8 kB / 1.265 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4553, allocations: 8 kB / 1.266 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4553, allocations: 0 / 1.266 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.4553, allocations: 89.02 kB / 1.266 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.4553, allocations: 0 / 1.266 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.4554, allocations: 12.02 kB / 1.266 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.4554, allocations: 7.922 kB / 1.266 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000147/0.4556, allocations: 192.3 kB / 1.266 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002117/0.4558, allocations: 302 kB / 1.266 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.699e-05/0.4558, allocations: 4 kB / 1.266 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001043/0.4559, allocations: 119.2 kB / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of Backend: time 3.61e-07/0.4559, allocations: 0 / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.4564, allocations: 98.36 kB / 1.266 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006356/0.457, allocations: 0.6158 MB / 1.267 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.003421/0.4605, allocations: 0.5366 MB / 1.267 GB, free: 7.078 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches