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.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.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.0008218/0.0008218, allocations: 98.27 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.009885/0.009885, allocations: 171.3 kB / 16.27 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.499/1.499, allocations: 223.2 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.445/2.445, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9179/0.9183, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00123/0.9196, allocations: 0.5329 MB / 0.9556 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.9198, allocations: 41.12 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.9198, allocations: 5.281 kB / 0.9556 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.9199, allocations: 7.922 kB / 0.9556 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.699e-05/0.92, allocations: 5.375 kB / 0.9556 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.151e-05/0.92, allocations: 14.89 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.9202, allocations: 58.83 kB / 0.9557 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.9204, allocations: 46.56 kB / 0.9557 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.175e-05/0.9205, allocations: 18.03 kB / 0.9558 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.9206, allocations: 23.8 kB / 0.9558 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.9206, allocations: 1.156 kB / 0.9558 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.9206, allocations: 2.594 kB / 0.9558 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.9206, allocations: 6.375 kB / 0.9558 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.9207, allocations: 50.08 kB / 0.9558 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.9208, allocations: 70.92 kB / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9209, allocations: 0 / 0.9559 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.736e-06/0.9209, allocations: 4 kB / 0.9559 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9209, allocations: 5.375 kB / 0.9559 GB, free: 7.035 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.00045/0.9213, allocations: 360.2 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9214, allocations: 10.03 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.9215, allocations: 13.31 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.9217, allocations: 194.5 kB / 0.9565 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.9217, allocations: 3.375 kB / 0.9565 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.9218, allocations: 9.406 kB / 0.9565 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.922, allocations: 98.42 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.922, allocations: 192 / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.922, allocations: 5.188 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.9221, allocations: 2.125 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.9222, allocations: 36.33 kB / 0.9566 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.9229, allocations: 445.7 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.9229, allocations: 37.12 kB / 0.9571 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.923, allocations: 18.97 kB / 0.9571 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.923, allocations: 1.031 kB / 0.9571 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.923, allocations: 39.56 kB / 0.9571 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.9231, allocations: 0.75 kB / 0.9571 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.9233, allocations: 58.44 kB / 0.9572 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9233, allocations: 78.23 kB / 0.9573 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.9235, allocations: 164.2 kB / 0.9574 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.9235, allocations: 25.7 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.9236, allocations: 100.7 kB / 0.9575 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.9236, allocations: 12.92 kB / 0.9575 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.9236, allocations: 14.84 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.9237, allocations: 320.9 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.9237, allocations: 7.234 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.9238, allocations: 18.25 kB / 0.9579 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.9238, allocations: 30.47 kB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9238, allocations: 5.188 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.614e-05/0.9239, allocations: 58.97 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.924, allocations: 4.594 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.924, allocations: 5.031 kB / 0.958 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.924, allocations: 4.969 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.9241, allocations: 4.75 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9241, allocations: 1.219 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.9241, allocations: 6.219 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.9241, allocations: 1.219 kB / 0.958 GB, free: 4.883 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 6.92e-05/0.9242, allocations: 121.3 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.9243, allocations: 8.25 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.9243, allocations: 14.97 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9243, allocations: 1.062 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9243, allocations: 4 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9243, allocations: 1.125 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.9247, allocations: 470.3 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.9247, allocations: 1.156 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.9247, allocations: 2.25 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9247, allocations: 5.078 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.9247, allocations: 1.031 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.9247, allocations: 1.281 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9247, allocations: 0 / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.9248, allocations: 86.5 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.9249, allocations: 91.97 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.9249, allocations: 1.062 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.9249, allocations: 0.9375 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.925, allocations: 0.9375 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.925, allocations: 0.9688 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.979e-05/0.9251, allocations: 123.8 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9251, allocations: 0 / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000192/0.9253, allocations: 9.656 kB / 0.9589 GB, free: 3.938 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.0001433/0.9254, allocations: 97.97 kB / 0.959 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.9255, allocations: 26.61 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.9255, allocations: 0 / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.9256, allocations: 4.344 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.9257, allocations: 11.22 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.9261, allocations: 180.6 kB / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.9263, allocations: 0.6988 MB / 0.9599 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.9264, allocations: 8.969 kB / 0.9599 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.9264, allocations: 10.69 kB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.9264, allocations: 4.969 kB / 0.9599 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.002622/0.929, allocations: 429.6 kB / 0.9603 GB, free: 2.699 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