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.007552/0.007552, allocations: 104.7 kB / 15.74 MB, free: 6.02 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.001734/0.001734, allocations: 188 kB / 16.67 MB, free: 5.941 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.542/2.542, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.84 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8915, allocations: 151.6 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02284/0.9144, allocations: 23.23 MB / 1.189 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007617/0.922, allocations: 5.089 MB / 1.194 GB, free: 7.535 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.9229, allocations: 23.88 kB / 1.194 GB, free: 7.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.9236, allocations: 278 kB / 1.195 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.9256, allocations: 0.789 MB / 1.195 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.9274, allocations: 0.7661 MB / 1.196 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.9292, allocations: 1.625 MB / 1.198 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/0.9299, allocations: 481.5 kB / 1.198 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.9312, allocations: 0.6109 MB / 1.199 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.9318, allocations: 450 kB / 1.199 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/0.9319, allocations: 51.94 kB / 1.199 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.933, allocations: 495.1 kB / 1.2 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.9332, allocations: 131.6 kB / 1.2 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.9335, allocations: 314.5 kB / 1.2 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.9349, allocations: 0.9274 MB / 1.201 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9349, allocations: 3.984 kB / 1.201 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9349, allocations: 0 / 1.201 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.9349, allocations: 4 kB / 1.201 GB, free: 0.625 MB / 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.001264/0.9362, allocations: 0.899 MB / 1.202 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9362, allocations: 8.922 kB / 1.202 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.9364, allocations: 72.55 kB / 1.202 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.9374, allocations: 0.5771 MB / 1.203 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.9374, allocations: 32.94 kB / 1.203 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.9375, allocations: 43.98 kB / 1.203 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.9382, allocations: 436.7 kB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.9382, allocations: 3.938 kB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.9383, allocations: 16 kB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.9383, allocations: 12 kB / 1.203 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.9388, allocations: 303.8 kB / 1.203 GB, free: 14.13 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.002552/0.9414, allocations: 1.923 MB / 1.205 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.9419, allocations: 246.8 kB / 1.205 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.9421, allocations: 124.8 kB / 1.206 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007897/0.9429, allocations: 0.8545 MB / 1.206 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.943, allocations: 46.5 kB / 1.206 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.943, allocations: 0 / 1.206 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0006772/0.9437, allocations: 365.8 kB / 1.207 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.9437, allocations: 63.34 kB / 1.207 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.9442, allocations: 478 kB / 1.207 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.9443, allocations: 33.7 kB / 1.207 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.9445, allocations: 268.4 kB / 1.208 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.9446, allocations: 103.1 kB / 1.208 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.9447, allocations: 69.98 kB / 1.208 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9448, allocations: 358.8 kB / 1.208 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.945, allocations: 96.59 kB / 1.208 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.9452, allocations: 176 kB / 1.208 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.9457, allocations: 276.3 kB / 1.209 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.9457, allocations: 0 / 1.209 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005562/0.9462, allocations: 365.1 kB / 1.209 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9463, allocations: 4 kB / 1.209 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.9463, allocations: 4 kB / 1.209 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9463, allocations: 4 kB / 1.209 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.9466, allocations: 80.05 kB / 1.209 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.9466, allocations: 7.938 kB / 1.209 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.9469, allocations: 39.69 kB / 1.209 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.9469, allocations: 15.98 kB / 1.209 GB, free: 7.75 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.0001948/0.9471, allocations: 177.8 kB / 1.209 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.9472, allocations: 47.72 kB / 1.209 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.948, allocations: 466.6 kB / 1.21 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.9481, allocations: 19.86 kB / 1.21 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9481, allocations: 4 kB / 1.21 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000578/0.9487, allocations: 0.5684 MB / 1.21 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.9504, allocations: 1.155 MB / 1.212 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9504, allocations: 3.938 kB / 1.212 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.9506, allocations: 48.16 kB / 1.212 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.9507, allocations: 11.94 kB / 1.212 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.9507, allocations: 8 kB / 1.212 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.9507, allocations: 7.938 kB / 1.212 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9507, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.9516, allocations: 0.669 MB / 1.212 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.9518, allocations: 180.6 kB / 1.212 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.9519, allocations: 8 kB / 1.212 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.9522, allocations: 15.98 kB / 1.212 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.9522, allocations: 23.97 kB / 1.212 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.9523, allocations: 27.92 kB / 1.212 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004098/0.9527, allocations: 342.9 kB / 1.213 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9527, allocations: 0 / 1.213 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000638/0.9533, allocations: 199.6 kB / 1.213 GB, free: 3.578 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000701/0.954, allocations: 307.1 kB / 1.213 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.9546, allocations: 299.8 kB / 1.214 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9546, allocations: 0 / 1.214 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.9548, allocations: 160.6 kB / 1.214 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.9563, allocations: 337.2 kB / 1.214 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.958, allocations: 1.078 MB / 1.215 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.9584, allocations: 0.8627 MB / 1.216 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.9588, allocations: 120.6 kB / 1.216 GB, free: 380 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.9589, allocations: 55.42 kB / 1.216 GB, free: 324 kB / 0.9356 GB Notification: Performance of SimCode: time 1.252e-06/0.9589, allocations: 4 kB / 1.216 GB, free: 320 kB / 0.9356 GB Notification: Performance of Templates: time 0.02115/0.9801, allocations: 12.23 MB / 1.228 GB, free: 4.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches