Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001014/0.001014, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8638, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02571/0.8896, allocations: 23.24 MB / 1.19 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007826/0.8974, allocations: 5.085 MB / 1.195 GB, free: 7.449 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.8985, allocations: 27.81 kB / 1.195 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.8997, allocations: 282.1 kB / 1.195 GB, free: 7.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.9024, allocations: 0.8318 MB / 1.196 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.9046, allocations: 0.7675 MB / 1.197 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.9068, allocations: 1.621 MB / 1.198 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009181/0.9078, allocations: 489.5 kB / 1.199 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.9096, allocations: 0.6327 MB / 1.2 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.9104, allocations: 450 kB / 1.2 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.9106, allocations: 44 kB / 1.2 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.9118, allocations: 495.1 kB / 1.2 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.912, allocations: 143.4 kB / 1.201 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.9125, allocations: 306.5 kB / 1.201 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.9142, allocations: 0.9269 MB / 1.202 GB, free: 488 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9143, allocations: 0 / 1.202 GB, free: 488 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9143, allocations: 0 / 1.202 GB, free: 488 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.9143, allocations: 4 kB / 1.202 GB, free: 484 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001748/0.9161, allocations: 0.9106 MB / 1.203 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.9161, allocations: 8.625 kB / 1.203 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.9164, allocations: 68.56 kB / 1.203 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.9176, allocations: 0.5771 MB / 1.203 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.9177, allocations: 32.94 kB / 1.203 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.9178, allocations: 40 kB / 1.203 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.9185, allocations: 432.7 kB / 1.204 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.9186, allocations: 7.938 kB / 1.204 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.9186, allocations: 16 kB / 1.204 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.9186, allocations: 8 kB / 1.204 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.9192, allocations: 303.8 kB / 1.204 GB, free: 13.98 MB / 0.9356 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.002856/0.9221, allocations: 1.919 MB / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.9226, allocations: 258.7 kB / 1.206 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.9228, allocations: 132.7 kB / 1.206 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009141/0.9237, allocations: 0.8467 MB / 1.207 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.9238, allocations: 42.56 kB / 1.207 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.9238, allocations: 0 / 1.207 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007192/0.9245, allocations: 373.7 kB / 1.208 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.9246, allocations: 63.34 kB / 1.208 GB, free: 10 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.9251, allocations: 482 kB / 1.208 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.9252, allocations: 29.7 kB / 1.208 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.9254, allocations: 260.5 kB / 1.208 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/0.9255, allocations: 103.1 kB / 1.208 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.9256, allocations: 77.91 kB / 1.209 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9258, allocations: 358.8 kB / 1.209 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.9259, allocations: 96.61 kB / 1.209 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.9262, allocations: 168.1 kB / 1.209 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.9266, allocations: 280.2 kB / 1.209 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9266, allocations: 4 kB / 1.209 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006029/0.9272, allocations: 365.1 kB / 1.21 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.9272, allocations: 4 kB / 1.21 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9272, allocations: 4 kB / 1.21 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9273, allocations: 4 kB / 1.21 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.9275, allocations: 72.12 kB / 1.21 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.9276, allocations: 7.938 kB / 1.21 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.9278, allocations: 43.67 kB / 1.21 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.9279, allocations: 12 kB / 1.21 GB, free: 7.594 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (39): * Single equations (assignments): 39 * 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.000212/0.9281, allocations: 185.7 kB / 1.21 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.9282, allocations: 51.72 kB / 1.21 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008794/0.9291, allocations: 466.6 kB / 1.211 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006455/0.9298, allocations: 0.5645 MB / 1.211 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9298, allocations: 3.938 kB / 1.211 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.93, allocations: 180.5 kB / 1.211 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.9301, allocations: 8 kB / 1.211 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.9303, allocations: 16 kB / 1.211 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.9304, allocations: 15.97 kB / 1.211 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007634/0.9312, allocations: 464.4 kB / 1.212 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009436/0.9321, allocations: 0.736 MB / 1.213 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002178/0.9323, allocations: 165.2 kB / 1.213 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004154/0.9328, allocations: 342.8 kB / 1.213 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of Backend: time 7.82e-07/0.9328, allocations: 0 / 1.213 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.9341, allocations: 444.5 kB / 1.213 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002677/0.9368, allocations: 1.647 MB / 1.215 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of Templates: time 0.0228/0.9596, allocations: 11.62 MB / 1.226 GB, free: 6.738 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches