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.001098/0.001099, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001181/0.001181, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.28/1.28, 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.533/2.533, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.742, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1638/0.9057, allocations: 167.5 MB / 1.372 GB, free: 5.48 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008161/0.9139, allocations: 6.547 MB / 1.378 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.9144, allocations: 15.88 kB / 1.378 GB, free: 14.9 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007948/0.9152, allocations: 170.8 kB / 1.379 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.9179, allocations: 0.8401 MB / 1.379 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.9189, allocations: 326.9 kB / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.92, allocations: 0.7211 MB / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005348/0.9206, allocations: 278.7 kB / 1.381 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.9219, allocations: 0.5525 MB / 1.381 GB, free: 12.02 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.9224, allocations: 274.9 kB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.9225, allocations: 20 kB / 1.382 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007236/0.9232, allocations: 347.2 kB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.9234, allocations: 103.7 kB / 1.382 GB, free: 11.29 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.9236, allocations: 163.2 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.9244, allocations: 472.5 kB / 1.383 GB, free: 10.67 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9244, allocations: 0 / 1.383 GB, free: 10.67 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9244, allocations: 0 / 1.383 GB, free: 10.67 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.9244, allocations: 0 / 1.383 GB, free: 10.67 MB / 1.107 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.0009705/0.9254, allocations: 0.6233 MB / 1.383 GB, free: 9.996 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.9254, allocations: 8.031 kB / 1.383 GB, free: 9.988 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.9258, allocations: 59.58 kB / 1.383 GB, free: 9.93 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.9263, allocations: 329.2 kB / 1.384 GB, free: 9.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.9264, allocations: 24.5 kB / 1.384 GB, free: 9.543 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.9264, allocations: 28 kB / 1.384 GB, free: 9.516 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.927, allocations: 311.7 kB / 1.384 GB, free: 9.184 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.927, allocations: 3.938 kB / 1.384 GB, free: 9.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.927, allocations: 12 kB / 1.384 GB, free: 9.168 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.927, allocations: 8 kB / 1.384 GB, free: 9.16 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.9274, allocations: 197.6 kB / 1.384 GB, free: 8.969 MB / 1.107 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.001479/0.9289, allocations: 1.538 MB / 1.386 GB, free: 7.293 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.9292, allocations: 118.5 kB / 1.386 GB, free: 7.168 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.9294, allocations: 88.81 kB / 1.386 GB, free: 7.078 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.93, allocations: 303.2 kB / 1.386 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.93, allocations: 42.44 kB / 1.386 GB, free: 6.676 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 2.855e-06/0.93, allocations: 3.984 kB / 1.386 GB, free: 6.672 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0007336/0.9308, allocations: 269.3 kB / 1.386 GB, free: 6.402 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.9308, allocations: 51.66 kB / 1.386 GB, free: 6.34 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.9311, allocations: 316.5 kB / 1.387 GB, free: 6.027 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.9311, allocations: 25.7 kB / 1.387 GB, free: 5.996 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.9313, allocations: 176.2 kB / 1.387 GB, free: 5.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.9313, allocations: 51.3 kB / 1.387 GB, free: 5.77 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.9314, allocations: 33.7 kB / 1.387 GB, free: 5.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9315, allocations: 342.8 kB / 1.387 GB, free: 5.387 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.9316, allocations: 59.95 kB / 1.387 GB, free: 5.328 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.9318, allocations: 116.9 kB / 1.388 GB, free: 5.195 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.9322, allocations: 173 kB / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9322, allocations: 0 / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004236/0.9326, allocations: 225 kB / 1.388 GB, free: 4.781 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9326, allocations: 7.984 kB / 1.388 GB, free: 4.773 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9326, allocations: 3.938 kB / 1.388 GB, free: 4.77 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9327, allocations: 4 kB / 1.388 GB, free: 4.766 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.9328, allocations: 31.92 kB / 1.388 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.9329, allocations: 4 kB / 1.388 GB, free: 4.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.933, allocations: 27.73 kB / 1.388 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.9331, allocations: 11.98 kB / 1.388 GB, free: 4.691 MB / 1.107 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.0001343/0.9332, allocations: 153.9 kB / 1.388 GB, free: 4.531 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.9333, allocations: 27.72 kB / 1.388 GB, free: 4.504 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.9337, allocations: 212.3 kB / 1.388 GB, free: 4.289 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9337, allocations: 0 / 1.388 GB, free: 4.289 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9338, allocations: 0 / 1.388 GB, free: 4.289 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.9339, allocations: 120.6 kB / 1.388 GB, free: 4.152 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.9339, allocations: 8 kB / 1.388 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.9341, allocations: 8 kB / 1.389 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.9341, allocations: 11.92 kB / 1.389 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004053/0.9345, allocations: 256.9 kB / 1.389 GB, free: 3.867 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004074/0.9349, allocations: 366 kB / 1.389 GB, free: 3.496 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001444/0.9351, allocations: 71.94 kB / 1.389 GB, free: 3.426 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001932/0.9353, allocations: 219.1 kB / 1.389 GB, free: 3.215 MB / 1.107 GB Notification: Performance of Backend: time 6.61e-07/0.9353, allocations: 0 / 1.389 GB, free: 3.215 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008731/0.9362, allocations: 258.5 kB / 1.39 GB, free: 2.961 MB / 1.107 GB Notification: Performance of SimCode: time 0.001317/0.9375, allocations: 1.046 MB / 1.391 GB, free: 1.871 MB / 1.107 GB Notification: Performance of Templates: time 0.01082/0.9483, allocations: 5.902 MB / 1.396 GB, free: 12.05 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