Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001273/0.001273, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001424/0.001424, allocations: 216.2 kB / 19.43 MB, free: 3.625 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: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.278/3.278, allocations: 0.4899 GB / 0.7915 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 70.61 kB / 1.149 GB, free: 26.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3981, allocations: 176.1 MB / 1.321 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2256/0.6237, allocations: 171 MB / 1.488 GB, free: 7.25 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.6328, allocations: 6.586 MB / 1.495 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.6334, allocations: 15.88 kB / 1.495 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.6341, allocations: 174.7 kB / 1.495 GB, free: 468 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.6368, allocations: 0.8674 MB / 1.496 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.6379, allocations: 325 kB / 1.496 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.639, allocations: 0.7095 MB / 1.497 GB, free: 14.56 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.6395, allocations: 238.8 kB / 1.497 GB, free: 14.32 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.6413, allocations: 0.7161 MB / 1.498 GB, free: 13.61 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.6417, allocations: 286.9 kB / 1.498 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.6418, allocations: 20 kB / 1.498 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.6425, allocations: 351.2 kB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.6426, allocations: 111.6 kB / 1.498 GB, free: 12.85 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.6428, allocations: 163.2 kB / 1.499 GB, free: 12.69 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.6436, allocations: 474.2 kB / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6436, allocations: 0 / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6436, allocations: 0 / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.6436, allocations: 0 / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001009/0.6446, allocations: 0.6307 MB / 1.5 GB, free: 11.55 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6447, allocations: 11.98 kB / 1.5 GB, free: 11.54 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.645, allocations: 63.73 kB / 1.5 GB, free: 11.47 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.6456, allocations: 325.4 kB / 1.5 GB, free: 11.11 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.6456, allocations: 16.56 kB / 1.5 GB, free: 11.09 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.6457, allocations: 28 kB / 1.5 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.6463, allocations: 323.6 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6463, allocations: 7.922 kB / 1.5 GB, free: 10.71 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.6463, allocations: 12 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6463, allocations: 8 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.6468, allocations: 201.5 kB / 1.501 GB, free: 10.5 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.6485, allocations: 1.531 MB / 1.502 GB, free: 8.832 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.6488, allocations: 118.4 kB / 1.502 GB, free: 8.707 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.649, allocations: 86.5 kB / 1.502 GB, free: 8.621 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.6497, allocations: 307.2 kB / 1.503 GB, free: 8.266 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.6497, allocations: 34.56 kB / 1.503 GB, free: 8.223 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.6497, allocations: 0 / 1.503 GB, free: 8.223 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0008517/0.6506, allocations: 277.3 kB / 1.503 GB, free: 7.945 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.6506, allocations: 55.41 kB / 1.503 GB, free: 7.879 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.651, allocations: 312.5 kB / 1.503 GB, free: 7.566 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.651, allocations: 25.7 kB / 1.503 GB, free: 7.535 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.6512, allocations: 184.3 kB / 1.503 GB, free: 7.352 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.6512, allocations: 43.64 kB / 1.503 GB, free: 7.309 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.6513, allocations: 37.7 kB / 1.503 GB, free: 7.266 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6515, allocations: 338.8 kB / 1.504 GB, free: 6.926 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.6517, allocations: 63.86 kB / 1.504 GB, free: 6.863 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.6519, allocations: 109.1 kB / 1.504 GB, free: 6.738 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.6523, allocations: 173 kB / 1.504 GB, free: 6.551 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.6523, allocations: 3.938 kB / 1.504 GB, free: 6.547 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004928/0.6528, allocations: 229.1 kB / 1.504 GB, free: 6.316 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.6528, allocations: 4 kB / 1.504 GB, free: 6.312 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6528, allocations: 3.984 kB / 1.504 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.6528, allocations: 4 kB / 1.504 GB, free: 6.305 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.653, allocations: 35.98 kB / 1.504 GB, free: 6.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.653, allocations: 0 / 1.504 GB, free: 6.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.6532, allocations: 31.77 kB / 1.504 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.6532, allocations: 8 kB / 1.504 GB, free: 6.23 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000188/0.6534, allocations: 160.7 kB / 1.505 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.6535, allocations: 27.81 kB / 1.505 GB, free: 6.039 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.654, allocations: 212.2 kB / 1.505 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.654, allocations: 0 / 1.505 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.654, allocations: 0 / 1.505 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.654, allocations: 3.938 kB / 1.505 GB, free: 5.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.6552, allocations: 0.6874 MB / 1.505 GB, free: 5.055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6552, allocations: 4.203 kB / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.6553, allocations: 31.98 kB / 1.506 GB, free: 5.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6553, allocations: 0 / 1.506 GB, free: 5.02 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.6553, allocations: 7.984 kB / 1.506 GB, free: 5.012 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.6553, allocations: 15.94 kB / 1.506 GB, free: 4.996 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6553, allocations: 0 / 1.506 GB, free: 4.996 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.6559, allocations: 341.2 kB / 1.506 GB, free: 4.625 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.656, allocations: 120.9 kB / 1.506 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.6561, allocations: 4 kB / 1.506 GB, free: 4.484 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.6562, allocations: 19.92 kB / 1.506 GB, free: 4.465 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.6563, allocations: 8 kB / 1.506 GB, free: 4.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6563, allocations: 7.938 kB / 1.506 GB, free: 4.449 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002645/0.6566, allocations: 227 kB / 1.506 GB, free: 4.23 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6566, allocations: 0 / 1.506 GB, free: 4.23 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004206/0.657, allocations: 75.83 kB / 1.506 GB, free: 4.156 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0003687/0.6573, allocations: 147.1 kB / 1.506 GB, free: 4 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.6578, allocations: 143.8 kB / 1.507 GB, free: 3.859 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6578, allocations: 4.312 kB / 1.507 GB, free: 3.855 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.658, allocations: 83.88 kB / 1.507 GB, free: 3.773 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.6588, allocations: 143.7 kB / 1.507 GB, free: 3.637 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.6599, allocations: 0.548 MB / 1.507 GB, free: 3.039 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.6603, allocations: 0.7834 MB / 1.508 GB, free: 2.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.6605, allocations: 62.94 kB / 1.508 GB, free: 2.168 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.6606, allocations: 27.38 kB / 1.508 GB, free: 2.141 MB / 1.201 GB Notification: Performance of SimCode: time 2.9e-07/0.6606, allocations: 0 / 1.508 GB, free: 2.141 MB / 1.201 GB Notification: Performance of Templates: time 0.01121/0.6718, allocations: 5.181 MB / 1.513 GB, free: 13.04 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 9.50776320695877]