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.0007575/0.0007575, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007616/0.0007616, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8392/0.8392, allocations: 177.1 MB / 203.5 MB, free: 5.719 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 1.771/1.771, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.954e-06/1.954e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.845e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001821/0.00185, allocations: 0.7894 MB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.001973, allocations: 43.78 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.002029, allocations: 0 / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.00207, allocations: 7.875 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.002155, allocations: 15.92 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.727e-05/0.002202, allocations: 19.92 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.002318, allocations: 55.84 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.002456, allocations: 35.91 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.002549, allocations: 35.91 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.002594, allocations: 19.91 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.002623, allocations: 15.98 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.002633, allocations: 4 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.002652, allocations: 11.94 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.002683, allocations: 19.92 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.002804, allocations: 75.64 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.002808, allocations: 3.984 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.203e-06/0.002809, allocations: 0 / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.002814, allocations: 0 / 1.002 GB, free: 11.86 MB / 0.9636 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.0003993/0.003213, allocations: 302 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.003261, allocations: 12.75 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.003296, allocations: 12.89 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.003484, allocations: 137.6 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.003496, allocations: 4.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.003512, allocations: 8.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.003663, allocations: 97.41 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.003672, allocations: 192 / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.003689, allocations: 8.312 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.003695, allocations: 4.375 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.003772, allocations: 39.92 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.004565, allocations: 352.4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.869e-05/0.004654, allocations: 37.34 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.0047, allocations: 17.78 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.004713, allocations: 4 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.004746, allocations: 34.5 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.004748, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.004927, allocations: 49.64 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.00497, allocations: 85.05 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.005061, allocations: 136.5 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.005071, allocations: 29.7 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.005135, allocations: 115.9 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.005143, allocations: 3.953 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.005173, allocations: 17.72 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.005252, allocations: 314.8 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.005268, allocations: 11.98 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.005289, allocations: 21.7 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.005324, allocations: 25.72 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005326, allocations: 4 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.654e-05/0.005383, allocations: 57.58 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.005397, allocations: 4 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005401, allocations: 0 / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.005414, allocations: 4 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.005474, allocations: 4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.005481, allocations: 7.938 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.005496, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.0055, allocations: 0 / 1.004 GB, free: 9.723 MB / 0.9636 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 5.829e-05/0.005558, allocations: 117.8 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.00558, allocations: 15.94 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.005598, allocations: 7.469 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.0056, allocations: 0 / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.005605, allocations: 4 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.005608, allocations: 3.938 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.005848, allocations: 418.4 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005849, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.005858, allocations: 4 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005859, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.005866, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005867, allocations: 4 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005867, allocations: 0 / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.494e-05/0.005922, allocations: 78.66 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.00594, allocations: 8 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.005952, allocations: 7.938 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.00596, allocations: 4 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.005972, allocations: 3.984 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.005974, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.006017, allocations: 95.27 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006017, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000125/0.006142, allocations: 15.98 kB / 1.005 GB, free: 8.863 MB / 0.9636 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 8.705e-05/0.006229, allocations: 95.25 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.006299, allocations: 19.88 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.006301, allocations: 3.938 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-06/0.006307, allocations: 4 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.006422, allocations: 14.22 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.006673, allocations: 184.5 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.006718, allocations: 79.33 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.006738, allocations: 12.5 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.006739, allocations: 0 / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of Templates: time 0.001457/0.008195, allocations: 0.8082 MB / 1.006 GB, free: 7.582 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 800] 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: 6.328763893805444]