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.001368/0.001368, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001667/0.001667, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.234/2.234, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 65.56 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.258, allocations: 140.4 MB / 0.9503 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002284/0.2604, allocations: 0.8331 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.2605, allocations: 39.78 kB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.2606, allocations: 0 / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.2606, allocations: 7.875 kB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.2608, allocations: 19.86 kB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.646e-05/0.2608, allocations: 15.98 kB / 0.9512 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2609, allocations: 63.84 kB / 0.9512 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2611, allocations: 39.97 kB / 0.9513 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.2612, allocations: 35.84 kB / 0.9513 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.2612, allocations: 23.86 kB / 0.9513 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2612, allocations: 7.938 kB / 0.9513 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.2613, allocations: 8 kB / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.2613, allocations: 15.92 kB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.2613, allocations: 27.81 kB / 0.9514 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2614, allocations: 71.98 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2614, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2615, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2615, allocations: 7.984 kB / 0.9515 GB, free: 7.703 MB / 0.7325 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.0004037/0.2619, allocations: 375.2 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2619, allocations: 12.03 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.262, allocations: 8.844 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.2622, allocations: 192.1 kB / 0.952 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2622, allocations: 8.375 kB / 0.952 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2622, allocations: 4.375 kB / 0.952 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.2624, allocations: 98.52 kB / 0.9521 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2624, allocations: 4.188 kB / 0.9521 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2624, allocations: 7.938 kB / 0.9521 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.2624, allocations: 4 kB / 0.9521 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.2625, allocations: 35.92 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.263, allocations: 428.7 kB / 0.9526 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.2631, allocations: 45.23 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.2631, allocations: 17.78 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2631, allocations: 0 / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2632, allocations: 34.56 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.2632, allocations: 7.938 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.2634, allocations: 61.41 kB / 0.9527 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2634, allocations: 77.11 kB / 0.9528 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2636, allocations: 167.6 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2636, allocations: 25.7 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.2636, allocations: 99.98 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.2637, allocations: 19.88 kB / 0.9531 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.2637, allocations: 13.97 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.2638, allocations: 318.8 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.2638, allocations: 11.98 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.2639, allocations: 17.66 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.2639, allocations: 25.72 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2639, allocations: 4 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.341e-05/0.264, allocations: 61.53 kB / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.264, allocations: 4 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.264, allocations: 3.938 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2641, allocations: 4.094 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.2641, allocations: 4 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2642, allocations: 0 / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.2642, allocations: 15.83 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2642, allocations: 4 kB / 0.9536 GB, free: 5.266 MB / 0.7325 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 7.688e-05/0.2643, allocations: 113.8 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.2644, allocations: 15.97 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.2644, allocations: 11.81 kB / 0.9537 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2644, allocations: 0 / 0.9537 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2644, allocations: 4 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2644, allocations: 0 / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.2648, allocations: 470.8 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2648, allocations: 0 / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.2648, allocations: 12 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2648, allocations: 3.984 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2648, allocations: 4 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2649, allocations: 0 / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2649, allocations: 0 / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.991e-05/0.2649, allocations: 73.84 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.265, allocations: 93 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.265, allocations: 7.969 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.265, allocations: 0 / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.2651, allocations: 4 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.2651, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.374e-05/0.2652, allocations: 122.5 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2652, allocations: 0 / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002206/0.2654, allocations: 11.94 kB / 0.9545 GB, free: 4.227 MB / 0.7325 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.0001114/0.2655, allocations: 107.2 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.826e-05/0.2656, allocations: 23.98 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2656, allocations: 0 / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.2656, allocations: 7.938 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.2658, allocations: 7.938 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.2661, allocations: 188.8 kB / 0.9548 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2664, allocations: 0.6961 MB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.2664, allocations: 11.44 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2664, allocations: 0 / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of Templates: time 0.002176/0.2686, allocations: 0.8598 MB / 0.9563 GB, free: 2.254 MB / 0.7325 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/jenkins1/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