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.001285/0.001285, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00102/0.00102, allocations: 173 kB / 23.49 MB, free: 1.062 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 2.128/2.128, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.514e-06/2.514e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.322e-05, allocations: 8.922 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001584/0.001617, allocations: 0.8169 MB / 0.879 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001159/0.001733, allocations: 44.72 kB / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.001783, allocations: 0 / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.001817, allocations: 7.875 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.001897, allocations: 12.95 kB / 0.8791 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.054e-05/0.001937, allocations: 15.98 kB / 0.8791 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.002033, allocations: 64.91 kB / 0.8791 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.002163, allocations: 27.97 kB / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.002238, allocations: 35.91 kB / 0.8792 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.002296, allocations: 25 kB / 0.8792 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.002317, allocations: 7.938 kB / 0.8792 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.002325, allocations: 8 kB / 0.8792 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.002345, allocations: 12.92 kB / 0.8793 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.002385, allocations: 27.91 kB / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.002487, allocations: 39.83 kB / 0.8793 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.00249, allocations: 0.6562 kB / 0.8793 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002491, allocations: 4.625 kB / 0.8793 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.002497, allocations: 0 / 0.8793 GB, free: 5.508 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.0003841/0.002881, allocations: 405.6 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.002926, allocations: 8.031 kB / 0.8797 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.002973, allocations: 16.89 kB / 0.8797 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.003166, allocations: 145.1 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.003176, allocations: 384 / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.003189, allocations: 12.94 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003306, allocations: 83.64 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003314, allocations: 5.266 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.003332, allocations: 8.375 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.00334, allocations: 1.031 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.003387, allocations: 27.86 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.00381, allocations: 455 kB / 0.8804 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.003865, allocations: 63.28 kB / 0.8805 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.003897, allocations: 19.5 kB / 0.8805 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.003907, allocations: 11.55 kB / 0.8805 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.003929, allocations: 33.39 kB / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.00393, allocations: 0 / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.004078, allocations: 45.64 kB / 0.8806 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.004119, allocations: 81.05 kB / 0.8807 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.00422, allocations: 189.8 kB / 0.8809 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.00423, allocations: 25.7 kB / 0.8809 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.004301, allocations: 163.4 kB / 0.881 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.004308, allocations: 7.891 kB / 0.881 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.004339, allocations: 27.95 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004446, allocations: 496.1 kB / 0.8815 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.00446, allocations: 1.188 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.004483, allocations: 27.36 kB / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.004522, allocations: 24.84 kB / 0.8816 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.004524, allocations: 0 / 0.8816 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.004659, allocations: 53.88 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.004674, allocations: 8.031 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.00468, allocations: 3.984 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.004695, allocations: 4 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.00476, allocations: 4 kB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.004767, allocations: 3.938 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.004784, allocations: 8 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.004788, allocations: 3.938 kB / 0.8817 GB, free: 2.844 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 6.242e-05/0.00485, allocations: 152.6 kB / 0.8818 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.004872, allocations: 11.89 kB / 0.8818 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.004904, allocations: 15.45 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.004906, allocations: 4 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.00491, allocations: 0 / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004914, allocations: 3.938 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.005207, allocations: 0.5383 MB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.005214, allocations: 3.984 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.005234, allocations: 4 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.005236, allocations: 0 / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.005245, allocations: 7.938 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005247, allocations: 0 / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.005249, allocations: 3.984 kB / 0.8824 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.396e-05/0.005313, allocations: 92.09 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.005332, allocations: 11.94 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.005344, allocations: 3.938 kB / 0.8825 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.005353, allocations: 4 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.00537, allocations: 4 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.005372, allocations: 0 / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.005423, allocations: 146 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005423, allocations: 0 / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001246/0.005548, allocations: 11.94 kB / 0.8827 GB, free: 1.746 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.0001009/0.005649, allocations: 99.27 kB / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.46e-05/0.005733, allocations: 23.62 kB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.005735, allocations: 0 / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/0.005745, allocations: 15.69 kB / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.005866, allocations: 0 / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.006174, allocations: 170.7 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.006211, allocations: 60.38 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.006243, allocations: 8.25 kB / 0.883 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.006268, allocations: 8.5 kB / 0.883 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/0.006268, allocations: 4 kB / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of Templates: time 0.002214/0.008482, allocations: 353 kB / 0.8834 GB, free: 0.9453 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.35054644709453]