Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00155/0.00155, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001803/0.001803, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6783, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1811/0.8595, allocations: 167.5 MB / 1.252 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007463/0.867, allocations: 6.526 MB / 1.259 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.8674, allocations: 15.88 kB / 1.259 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.868, allocations: 178.7 kB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.8701, allocations: 0.8752 MB / 1.26 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.871, allocations: 333.7 kB / 1.26 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008693/0.8719, allocations: 0.7173 MB / 1.261 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.8723, allocations: 279.3 kB / 1.261 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.8735, allocations: 0.5682 MB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.874, allocations: 270.9 kB / 1.262 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.874, allocations: 20 kB / 1.262 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006635/0.8747, allocations: 351.2 kB / 1.262 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.8748, allocations: 107.7 kB / 1.262 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.875, allocations: 159.2 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006573/0.8757, allocations: 472.5 kB / 1.263 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.8757, allocations: 0 / 1.263 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8757, allocations: 4 kB / 1.263 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.8757, allocations: 0 / 1.263 GB, free: 11.35 MB / 0.9981 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.0008457/0.8766, allocations: 0.6193 MB / 1.263 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.8766, allocations: 12.03 kB / 1.263 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.8769, allocations: 55.59 kB / 1.263 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.8775, allocations: 321.2 kB / 1.264 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.8775, allocations: 28.5 kB / 1.264 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.8776, allocations: 27.94 kB / 1.264 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.8781, allocations: 319.7 kB / 1.264 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8781, allocations: 7.938 kB / 1.264 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.8782, allocations: 8 kB / 1.264 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.8782, allocations: 8 kB / 1.264 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.8786, allocations: 197.6 kB / 1.264 GB, free: 9.648 MB / 0.9981 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.001481/0.8801, allocations: 1.538 MB / 1.266 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.8804, allocations: 126.5 kB / 1.266 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.8806, allocations: 88.8 kB / 1.266 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/0.8812, allocations: 303.2 kB / 1.266 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.8812, allocations: 38.5 kB / 1.266 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.8812, allocations: 0 / 1.266 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007575/0.882, allocations: 268.9 kB / 1.267 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.882, allocations: 59.39 kB / 1.267 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.8823, allocations: 304.6 kB / 1.267 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.8824, allocations: 29.7 kB / 1.267 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.8825, allocations: 184.1 kB / 1.267 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.8825, allocations: 43.3 kB / 1.267 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.8826, allocations: 45.7 kB / 1.267 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8827, allocations: 334.8 kB / 1.268 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.8829, allocations: 59.95 kB / 1.268 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.8831, allocations: 113 kB / 1.268 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.8834, allocations: 176.9 kB / 1.268 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8834, allocations: 0 / 1.268 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004178/0.8839, allocations: 225 kB / 1.268 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8839, allocations: 6.5 kB / 1.268 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8839, allocations: 4 kB / 1.268 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8839, allocations: 0 / 1.268 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.8841, allocations: 39.91 kB / 1.268 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8841, allocations: 0 / 1.268 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.8843, allocations: 31.98 kB / 1.268 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.8843, allocations: 8 kB / 1.268 GB, free: 5.375 MB / 0.9981 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.0001348/0.8844, allocations: 146.3 kB / 1.268 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.8845, allocations: 27.62 kB / 1.268 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.8849, allocations: 208.3 kB / 1.269 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.885, allocations: 0 / 1.269 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.885, allocations: 3.938 kB / 1.269 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.8851, allocations: 128.7 kB / 1.269 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.8851, allocations: 4 kB / 1.269 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.8853, allocations: 11.98 kB / 1.269 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.8853, allocations: 11.92 kB / 1.269 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004318/0.8858, allocations: 256.8 kB / 1.269 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004125/0.8862, allocations: 370.4 kB / 1.269 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001592/0.8864, allocations: 67.58 kB / 1.269 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002019/0.8866, allocations: 227 kB / 1.27 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of Backend: time 4.41e-07/0.8866, allocations: 0 / 1.27 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008369/0.8874, allocations: 248.2 kB / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001298/0.8887, allocations: 1.044 MB / 1.271 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of Templates: time 0.0103/0.899, allocations: 5.792 MB / 1.277 GB, free: 12.84 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches