Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001731/0.001731, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001956/0.001956, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.609/1.609, allocations: 177.1 MB / 202.8 MB, free: 9.164 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 3.075/3.075, allocations: 389 MB / 0.633 GB, free: 1.004 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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/3.933e-05, allocations: 2.281 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001981/0.00202, allocations: 0.7965 MB / 1.001 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.00214, allocations: 43.78 kB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.002198, allocations: 0 / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.002239, allocations: 7.875 kB / 1.001 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.002329, allocations: 19.86 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.075e-05/0.00238, allocations: 15.98 kB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.002523, allocations: 59.84 kB / 1.001 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.002666, allocations: 31.91 kB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.002762, allocations: 39.91 kB / 1.001 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.002806, allocations: 15.91 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.002837, allocations: 11.98 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.002846, allocations: 7.938 kB / 1.001 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.002868, allocations: 12 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.002898, allocations: 15.92 kB / 1.001 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003022, allocations: 83.62 kB / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.003024, allocations: 0 / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003025, allocations: 0 / 1.001 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.003034, allocations: 0 / 1.001 GB, free: 6.121 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.0005035/0.003538, allocations: 306 kB / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.003576, allocations: 8.031 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.003612, allocations: 12.89 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.003836, allocations: 129.7 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.003853, allocations: 8.375 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.003869, allocations: 8.312 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.004044, allocations: 106.2 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.004055, allocations: 192 / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.004068, allocations: 4.359 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004075, allocations: 4.375 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.004176, allocations: 47.8 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.004729, allocations: 348.5 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.796e-05/0.004807, allocations: 41.25 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.004849, allocations: 17.78 kB / 1.002 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.004861, allocations: 4 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.0049, allocations: 34.56 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.004901, allocations: 0 / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000191/0.005092, allocations: 53.58 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.005149, allocations: 81.05 kB / 1.002 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.005299, allocations: 139.9 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.005315, allocations: 25.7 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.005401, allocations: 111.9 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.005409, allocations: 3.953 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.005458, allocations: 17.97 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.005603, allocations: 322.8 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.005621, allocations: 4 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.005648, allocations: 21.66 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.005691, allocations: 25.72 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005693, allocations: 0 / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.764e-05/0.00578, allocations: 61.58 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005793, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.005798, allocations: 0 / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.005814, allocations: 8.062 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.005875, allocations: 8 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.005882, allocations: 3.938 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.005909, allocations: 7.938 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005914, allocations: 0 / 1.003 GB, free: 3.973 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 8.382e-05/0.005998, allocations: 117.8 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.006041, allocations: 7.953 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.006062, allocations: 3.469 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006064, allocations: 0 / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.006069, allocations: 0 / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.006073, allocations: 11.94 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.006461, allocations: 410.5 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.006462, allocations: 4 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.006478, allocations: 0 / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.006483, allocations: 4 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.006493, allocations: 7.938 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.006496, allocations: 3.938 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006496, allocations: 0 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.00659, allocations: 73.94 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.006607, allocations: 12.03 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.00662, allocations: 3.938 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.006639, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.006661, allocations: 7.922 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.006662, allocations: 0 / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.006734, allocations: 99.27 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.006734, allocations: 0 / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001859/0.00692, allocations: 11.95 kB / 1.004 GB, free: 3.129 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.000124/0.007044, allocations: 99.23 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.989e-05/0.007134, allocations: 19.94 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007135, allocations: 0 / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.00715, allocations: 7.984 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.007303, allocations: 11.94 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.007662, allocations: 158.6 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.599e-05/0.007738, allocations: 75.33 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.007769, allocations: 12.33 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.007797, allocations: 8.5 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.007797, allocations: 0 / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.002936/0.01073, allocations: 340.6 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.563212186098099]