Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 110.7 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 186.6 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 469.4 MB / 0.7428 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 60.12 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7278, allocations: 159.1 MB / 1.221 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.162/0.8899, allocations: 167.5 MB / 1.385 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00804/0.898, allocations: 6.538 MB / 1.391 GB, free: 3.578 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.8986, allocations: 19.88 kB / 1.391 GB, free: 3.559 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.8992, allocations: 170.8 kB / 1.391 GB, free: 3.391 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.9014, allocations: 0.8752 MB / 1.392 GB, free: 2.512 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.9023, allocations: 330.7 kB / 1.392 GB, free: 2.191 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.903, allocations: 0.7289 MB / 1.393 GB, free: 1.457 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.9034, allocations: 266.7 kB / 1.393 GB, free: 1.191 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.9045, allocations: 0.5682 MB / 1.394 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.9048, allocations: 266.9 kB / 1.394 GB, free: 368 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.9049, allocations: 24 kB / 1.394 GB, free: 344 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.9055, allocations: 355.2 kB / 1.394 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.9056, allocations: 111.6 kB / 1.394 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.9058, allocations: 159.2 kB / 1.395 GB, free: 15.72 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.9063, allocations: 468.4 kB / 1.395 GB, free: 15.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9064, allocations: 0 / 1.395 GB, free: 15.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9064, allocations: 0 / 1.395 GB, free: 15.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9064, allocations: 0 / 1.395 GB, free: 15.27 MB / 1.123 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.0007864/0.9072, allocations: 0.6219 MB / 1.396 GB, free: 14.6 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.9072, allocations: 8.031 kB / 1.396 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.9075, allocations: 71.48 kB / 1.396 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.908, allocations: 317.3 kB / 1.396 GB, free: 14.17 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.908, allocations: 16.56 kB / 1.396 GB, free: 14.16 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.908, allocations: 32 kB / 1.396 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.9085, allocations: 319.6 kB / 1.396 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9086, allocations: 0 / 1.396 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.9086, allocations: 12 kB / 1.396 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.9086, allocations: 12 kB / 1.396 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.909, allocations: 201.5 kB / 1.397 GB, free: 13.57 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.9105, allocations: 1.531 MB / 1.398 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.9107, allocations: 126.5 kB / 1.398 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.9109, allocations: 88.81 kB / 1.398 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.9114, allocations: 303.2 kB / 1.399 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.9115, allocations: 38.5 kB / 1.399 GB, free: 11.28 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.9115, allocations: 0 / 1.399 GB, free: 11.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0007072/0.9122, allocations: 272.7 kB / 1.399 GB, free: 11.01 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.9122, allocations: 51.41 kB / 1.399 GB, free: 10.95 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.9125, allocations: 312.5 kB / 1.399 GB, free: 10.64 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.9125, allocations: 33.7 kB / 1.399 GB, free: 10.6 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.9127, allocations: 180.1 kB / 1.399 GB, free: 10.42 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.9127, allocations: 51.38 kB / 1.4 GB, free: 10.37 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.9128, allocations: 37.61 kB / 1.4 GB, free: 10.33 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9129, allocations: 338.8 kB / 1.4 GB, free: 9.988 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.913, allocations: 59.95 kB / 1.4 GB, free: 9.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.9132, allocations: 115.3 kB / 1.4 GB, free: 9.801 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.9136, allocations: 173 kB / 1.4 GB, free: 9.613 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.9136, allocations: 0 / 1.4 GB, free: 9.613 MB / 1.123 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004022/0.914, allocations: 221.1 kB / 1.4 GB, free: 9.391 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.914, allocations: 7.984 kB / 1.4 GB, free: 9.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.914, allocations: 0 / 1.4 GB, free: 9.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.914, allocations: 8.094 kB / 1.4 GB, free: 9.375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.9142, allocations: 35.98 kB / 1.4 GB, free: 9.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.9142, allocations: 7.938 kB / 1.4 GB, free: 9.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.9144, allocations: 27.73 kB / 1.401 GB, free: 9.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.9144, allocations: 8 kB / 1.401 GB, free: 9.297 MB / 1.123 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.0001326/0.9146, allocations: 153.8 kB / 1.401 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.9146, allocations: 23.72 kB / 1.401 GB, free: 9.113 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.915, allocations: 220.2 kB / 1.401 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9151, allocations: 0 / 1.401 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9151, allocations: 48 / 1.401 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.9152, allocations: 124.7 kB / 1.401 GB, free: 8.746 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.9152, allocations: 0 / 1.401 GB, free: 8.746 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.9154, allocations: 8 kB / 1.401 GB, free: 8.738 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.9154, allocations: 11.92 kB / 1.401 GB, free: 8.727 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004112/0.9158, allocations: 256.9 kB / 1.401 GB, free: 8.469 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003945/0.9162, allocations: 362.3 kB / 1.402 GB, free: 8.098 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000153/0.9164, allocations: 75.44 kB / 1.402 GB, free: 8.027 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001796/0.9166, allocations: 219.1 kB / 1.402 GB, free: 7.816 MB / 1.123 GB Notification: Performance of Backend: time 4.1e-07/0.9166, allocations: 0 / 1.402 GB, free: 7.816 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00086/0.9175, allocations: 269.2 kB / 1.402 GB, free: 7.555 MB / 1.123 GB Notification: Performance of SimCode: time 0.001246/0.9187, allocations: 1.038 MB / 1.403 GB, free: 6.473 MB / 1.123 GB Notification: Performance of Templates: time 0.009798/0.9285, allocations: 5.797 MB / 1.409 GB, free: 0.7461 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches