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.0008355/0.0008355, allocations: 80.48 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.000824/0.000824, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9262/0.9262, 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.8/1.8, allocations: 389 MB / 0.6338 GB, free: 12.7 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.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 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.071e-05/4.246e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001688/0.00173, allocations: 0.7906 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.001842, allocations: 43.78 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.001895, allocations: 4 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.001936, allocations: 7.875 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.002016, allocations: 7.875 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.438e-05/0.00206, allocations: 19.97 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.002172, allocations: 63.84 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.002304, allocations: 23.97 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.002379, allocations: 43.84 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.12e-05/0.00244, allocations: 19.91 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.002469, allocations: 8 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002476, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.002498, allocations: 19.92 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.002529, allocations: 15.94 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.002645, allocations: 75.62 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.002647, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.31e-07/0.002648, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.002653, allocations: 4 kB / 1.002 GB, free: 11.84 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.0004169/0.00307, allocations: 306 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.003115, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.00315, allocations: 8.891 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.003323, allocations: 133.7 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.003333, allocations: 4.375 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.003348, allocations: 16.31 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.003483, allocations: 89.58 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.003493, allocations: 192 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.003504, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.003512, allocations: 8.312 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.003577, allocations: 43.86 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.003979, allocations: 352.5 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.285e-05/0.004032, allocations: 41.19 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.004063, allocations: 17.83 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.004071, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.004092, allocations: 38.56 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.004093, allocations: 0 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.004244, allocations: 49.59 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.004283, allocations: 85.36 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.004371, allocations: 125.8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.004381, allocations: 33.64 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.004437, allocations: 111.9 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.004445, allocations: 7.938 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.004472, allocations: 21.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.004547, allocations: 310.8 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.004561, allocations: 8 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.004581, allocations: 25.64 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.004618, allocations: 29.72 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00462, allocations: 0 / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.524e-05/0.004675, allocations: 53.59 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.004688, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.004696, allocations: 7.984 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.00471, allocations: 0 / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.004763, allocations: 4 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.004769, allocations: 3.938 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.004786, allocations: 4 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.004791, allocations: 4 kB / 1.004 GB, free: 9.699 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.395e-05/0.004845, allocations: 113.9 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.004867, allocations: 11.95 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.004886, allocations: 7.453 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.004889, allocations: 4 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.004893, allocations: 0 / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.004897, allocations: 4.031 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.005139, allocations: 410.4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.005142, allocations: 7.969 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.005153, allocations: 7.938 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.005156, allocations: 4.062 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.005163, allocations: 3.938 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.005165, allocations: 3.938 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005165, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.464e-05/0.00522, allocations: 74.73 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.005238, allocations: 11.98 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.00525, allocations: 7.938 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.005257, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.00527, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005272, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.005321, allocations: 105.8 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005322, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001262/0.005448, allocations: 11.95 kB / 1.005 GB, free: 8.848 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 7.24e-05/0.00552, allocations: 99.23 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.005593, allocations: 15.94 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.005595, allocations: 4 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.005602, allocations: 7.938 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.005711, allocations: 10.17 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.005971, allocations: 192.5 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.006107, allocations: 75.33 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.006131, allocations: 12.5 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of SimCode: time 3.31e-07/0.006131, allocations: 0 / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of Templates: time 0.001516/0.007647, allocations: 0.8053 MB / 1.006 GB, free: 7.562 MB / 0.9636 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: 6.4497371558099985]