Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.002038/0.002038, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002646/0.002646, allocations: 174.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.914/2.914, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] 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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.957e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001936/0.001966, allocations: 0.7966 MB / 1.001 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.002102, allocations: 35.84 kB / 1.001 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.002153, allocations: 0 / 1.001 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.002192, allocations: 11.86 kB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.002279, allocations: 11.88 kB / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.026e-05/0.002329, allocations: 15.98 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.002458, allocations: 75.75 kB / 1.001 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.002608, allocations: 27.92 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.002713, allocations: 39.89 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.002758, allocations: 15.92 kB / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.002802, allocations: 8 kB / 1.001 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.002814, allocations: 4 kB / 1.001 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.002839, allocations: 19.92 kB / 1.001 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.002871, allocations: 15.92 kB / 1.001 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.002997, allocations: 71.75 kB / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003, allocations: 0 / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003001, allocations: 7.938 kB / 1.001 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003005, allocations: 0 / 1.001 GB, free: 6.109 MB / 0.9512 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.0004554/0.003461, allocations: 313.9 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.003503, allocations: 12.03 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.003534, allocations: 8.891 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.003716, allocations: 125.7 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.003729, allocations: 4.375 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.003747, allocations: 8.375 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.003915, allocations: 106.1 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.003924, allocations: 192 / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.003933, allocations: 4.375 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.00394, allocations: 4.375 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.004016, allocations: 39.92 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.004495, allocations: 356.4 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.004562, allocations: 37.22 kB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.004601, allocations: 17.77 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.004617, allocations: 8.031 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.004642, allocations: 34.56 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 3.567e-06/0.004646, allocations: 4 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.004809, allocations: 49.59 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.004864, allocations: 77.11 kB / 1.002 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.00499, allocations: 136.5 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.005014, allocations: 29.7 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.005087, allocations: 111.9 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.005095, allocations: 3.953 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.005132, allocations: 17.72 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.005272, allocations: 318.8 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.00529, allocations: 4 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.005326, allocations: 25.97 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.005372, allocations: 29.64 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005373, allocations: 0 / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.479e-05/0.005458, allocations: 53.66 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.005471, allocations: 4 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.005475, allocations: 3.938 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.005488, allocations: 4 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.005551, allocations: 15.92 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.005558, allocations: 8 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.005586, allocations: 7.938 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.00559, allocations: 0 / 1.003 GB, free: 3.957 MB / 0.9512 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 9.93e-05/0.005689, allocations: 113.8 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.00573, allocations: 7.953 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.00575, allocations: 3.469 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005751, allocations: 0 / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.005757, allocations: 4 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.005763, allocations: 7.922 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.006152, allocations: 410.5 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006153, allocations: 0 / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.006173, allocations: 3.984 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006175, allocations: 7.938 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.006184, allocations: 3.938 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.006186, allocations: 0 / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006186, allocations: 0 / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.006275, allocations: 77.89 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.006295, allocations: 7.984 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.006308, allocations: 4.031 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.006328, allocations: 4.062 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.006349, allocations: 7.984 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.00635, allocations: 0 / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.006428, allocations: 99.27 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006428, allocations: 4 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001884/0.006617, allocations: 7.953 kB / 1.004 GB, free: 3.121 MB / 0.9512 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.0001091/0.006726, allocations: 99.23 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.006804, allocations: 19.92 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.00681, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.006819, allocations: 8.125 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.006982, allocations: 8 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.007313, allocations: 166.5 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.007388, allocations: 75.33 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.007413, allocations: 4 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.007437, allocations: 12.44 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.007437, allocations: 128 / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of Templates: time 0.002666/0.0101, allocations: 344.6 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.278507310897112]