Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001939/0.001939, allocations: 85.48 kB / 19.44 MB, free: 340 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.002598/0.002598, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.327/3.327, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/2.995e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002019/0.002049, allocations: 0.8155 MB / 0.8782 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.00217, allocations: 40.88 kB / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.002216, allocations: 0 / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.002248, allocations: 7.875 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.002334, allocations: 16.94 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.315e-05/0.002387, allocations: 19.97 kB / 0.8783 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.002517, allocations: 59.84 kB / 0.8784 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.002635, allocations: 33.16 kB / 0.8784 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.002732, allocations: 35.91 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.002779, allocations: 19.91 kB / 0.8785 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.002803, allocations: 9.594 kB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.002814, allocations: 7.938 kB / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.002836, allocations: 15.98 kB / 0.8785 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.002869, allocations: 19.92 kB / 0.8785 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.002993, allocations: 70.67 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.002995, allocations: 0 / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.82e-07/0.002996, allocations: 0 / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.003003, allocations: 4 kB / 0.8786 GB, free: 5.477 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.0005073/0.00351, allocations: 415.9 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.003551, allocations: 8.031 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.003604, allocations: 16.89 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.003803, allocations: 137.2 kB / 0.8791 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.003816, allocations: 4.375 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.00383, allocations: 10.03 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.004005, allocations: 103.9 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004013, allocations: 192 / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004021, allocations: 384 / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004028, allocations: 4.375 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.004118, allocations: 44.41 kB / 0.8793 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.00471, allocations: 467.7 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.607e-05/0.004796, allocations: 66.09 kB / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.004841, allocations: 25.19 kB / 0.8798 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.00485, allocations: 7.938 kB / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.004881, allocations: 33.39 kB / 0.8799 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004881, allocations: 4 kB / 0.8799 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.005042, allocations: 45.64 kB / 0.8799 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.005103, allocations: 89.03 kB / 0.88 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.00528, allocations: 197 kB / 0.8802 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.005301, allocations: 29.69 kB / 0.8802 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.005412, allocations: 158.7 kB / 0.8804 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.005424, allocations: 11.94 kB / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.005462, allocations: 19.38 kB / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002489/0.005711, allocations: 0.4884 MB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.005731, allocations: 8.234 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.005764, allocations: 27.38 kB / 0.8809 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.005819, allocations: 35.31 kB / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00582, allocations: 0 / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.293e-05/0.005913, allocations: 61.58 kB / 0.881 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005925, allocations: 4 kB / 0.881 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005929, allocations: 0 / 0.881 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005939, allocations: 0 / 0.881 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.005995, allocations: 8 kB / 0.881 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.006001, allocations: 8 kB / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.006027, allocations: 3.938 kB / 0.881 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006033, allocations: 4 kB / 0.881 GB, free: 2.727 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.0001183/0.006151, allocations: 160.6 kB / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.006196, allocations: 11.94 kB / 0.8812 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.006229, allocations: 7.469 kB / 0.8812 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00623, allocations: 0 / 0.8812 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.006233, allocations: 0 / 0.8812 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.006237, allocations: 7.938 kB / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.006749, allocations: 0.5578 MB / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.00675, allocations: 4.031 kB / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.006768, allocations: 0 / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.00677, allocations: 4 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006777, allocations: 3.938 kB / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006779, allocations: 0 / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00678, allocations: 0 / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.006895, allocations: 96.02 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.006916, allocations: 7.953 kB / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.006933, allocations: 7.938 kB / 0.8819 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.00695, allocations: 0 / 0.8819 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.006966, allocations: 11.95 kB / 0.8819 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.006967, allocations: 0 / 0.8819 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001037/0.007071, allocations: 151.2 kB / 0.882 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007071, allocations: 0 / 0.882 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001846/0.007256, allocations: 8 kB / 0.882 GB, free: 1.605 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.0001147/0.00737, allocations: 91.25 kB / 0.8821 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007475, allocations: 27.62 kB / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.007477, allocations: 0 / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.007502, allocations: 23.8 kB / 0.8822 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.007639, allocations: 4 kB / 0.8822 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.008131, allocations: 178.5 kB / 0.8824 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.587e-05/0.008217, allocations: 83.17 kB / 0.8824 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.008239, allocations: 0 / 0.8824 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.008264, allocations: 12.5 kB / 0.8824 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.008264, allocations: 4.125 kB / 0.8824 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of Templates: time 0.002848/0.01111, allocations: 352.1 kB / 0.8828 GB, free: 0.7695 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.41334899305366]