Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 157.7 kB / 22.75 MB, free: 1.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.284/3.284, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.918e-05, allocations: 3.375 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002649/0.002688, allocations: 0.7972 MB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.00286, allocations: 40.72 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.002928, allocations: 4 kB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.002979, allocations: 9 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.003081, allocations: 12.09 kB / 0.8784 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.7e-05/0.003158, allocations: 19.97 kB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.003304, allocations: 64.81 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.003478, allocations: 31.91 kB / 0.8786 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.003592, allocations: 39.84 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.003664, allocations: 21.38 kB / 0.8786 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.00369, allocations: 8 kB / 0.8786 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.003705, allocations: 4 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.003734, allocations: 15.92 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.003777, allocations: 25.2 kB / 0.8787 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.003936, allocations: 63.77 kB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.003938, allocations: 0 / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003939, allocations: 7.281 kB / 0.8787 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.003945, allocations: 0 / 0.8787 GB, free: 5.367 MB / 0.8386 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.0005992/0.004544, allocations: 302 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.004597, allocations: 12.03 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.00467, allocations: 16.89 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.00493, allocations: 137.6 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.004947, allocations: 4.375 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.004968, allocations: 12.36 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.005187, allocations: 92.48 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.005198, allocations: 192 / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.005216, allocations: 10 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005222, allocations: 384 / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.005339, allocations: 39.91 kB / 0.8793 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.005989, allocations: 357.8 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.006078, allocations: 41.2 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.006127, allocations: 21.72 kB / 0.8797 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.006135, allocations: 4 kB / 0.8797 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.00618, allocations: 38.59 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.006181, allocations: 0 / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002354/0.006416, allocations: 45.64 kB / 0.8798 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.006489, allocations: 81.09 kB / 0.8799 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.006667, allocations: 129.8 kB / 0.88 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.006695, allocations: 25.7 kB / 0.88 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.006823, allocations: 111.9 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.006841, allocations: 15.92 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.00689, allocations: 17.97 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.007084, allocations: 314.8 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.007104, allocations: 4 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.007136, allocations: 21.7 kB / 0.8805 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.736e-05/0.007204, allocations: 29.66 kB / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007206, allocations: 0 / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001078/0.007314, allocations: 57.64 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.007336, allocations: 6.188 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007342, allocations: 8.062 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.007364, allocations: 0 / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.007442, allocations: 7.938 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.00745, allocations: 3.938 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.007481, allocations: 7.938 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007487, allocations: 0 / 0.8806 GB, free: 3.223 MB / 0.8386 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 0.0001142/0.007601, allocations: 113.8 kB / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.007646, allocations: 7.953 kB / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.007677, allocations: 11.45 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.00768, allocations: 4 kB / 0.8808 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.007685, allocations: 4 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.007691, allocations: 3.938 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.008198, allocations: 414.5 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0082, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.008227, allocations: 4 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008229, allocations: 0 / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.008239, allocations: 3.938 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008241, allocations: 0 / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.008245, allocations: 7.938 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.008371, allocations: 77.94 kB / 0.8812 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.008398, allocations: 11.98 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.008416, allocations: 3.938 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.008438, allocations: 4 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.008459, allocations: 0 / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.008464, allocations: 4 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.139e-05/0.008556, allocations: 101 kB / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008556, allocations: 0 / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002064/0.008762, allocations: 8 kB / 0.8814 GB, free: 2.379 MB / 0.8386 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.000133/0.008895, allocations: 99.23 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.009, allocations: 23.94 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009003, allocations: 0 / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.009019, allocations: 4 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.009189, allocations: 4 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.009602, allocations: 174.8 kB / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/0.009693, allocations: 75.95 kB / 0.8817 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.009725, allocations: 11.98 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.009766, allocations: 12.5 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.009766, allocations: 0 / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of Templates: time 0.003134/0.0129, allocations: 353.1 kB / 0.8821 GB, free: 1.574 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.60483260708861]