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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 106.7 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 184.5 kB / 21.33 MB, free: 0.8789 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 249.9 MB, free: 3.074 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 443.5 MB / 0.7309 GB, free: 14.1 MB / 0.5762 GB [Timeout remaining time 87] 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=502,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=502,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 75.81 kB / 1.06 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 160.7 MB / 1.217 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02816/0.3506, allocations: 23.4 MB / 1.239 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008501/0.3591, allocations: 5.105 MB / 1.244 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.36, allocations: 27.88 kB / 1.244 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009526/0.361, allocations: 286 kB / 1.245 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.3634, allocations: 0.828 MB / 1.246 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.3654, allocations: 0.7736 MB / 1.246 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.3676, allocations: 1.634 MB / 1.248 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/0.3682, allocations: 417.6 kB / 1.248 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.3697, allocations: 0.6286 MB / 1.249 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.3704, allocations: 485.9 kB / 1.249 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.3705, allocations: 44 kB / 1.249 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3717, allocations: 0.4913 MB / 1.25 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.3718, allocations: 151.4 kB / 1.25 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.3722, allocations: 310.5 kB / 1.25 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.3737, allocations: 0.9264 MB / 1.251 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3737, allocations: 0 / 1.251 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3737, allocations: 0 / 1.251 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3737, allocations: 0 / 1.251 GB, free: 11.92 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001476/0.3752, allocations: 0.899 MB / 1.252 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3753, allocations: 16.02 kB / 1.252 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.3755, allocations: 68.56 kB / 1.252 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3766, allocations: 0.5809 MB / 1.253 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3766, allocations: 36.94 kB / 1.253 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/0.3767, allocations: 48 kB / 1.253 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.3774, allocations: 432.7 kB / 1.253 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3774, allocations: 4 kB / 1.253 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.3775, allocations: 16 kB / 1.253 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.3775, allocations: 11.94 kB / 1.253 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.378, allocations: 303.8 kB / 1.254 GB, free: 9.418 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.002906/0.3809, allocations: 1.916 MB / 1.255 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.3815, allocations: 250.6 kB / 1.256 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.3817, allocations: 116.8 kB / 1.256 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/0.3827, allocations: 0.8545 MB / 1.257 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3827, allocations: 30.56 kB / 1.257 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.3827, allocations: 0 / 1.257 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.0007828/0.3835, allocations: 383.9 kB / 1.257 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3835, allocations: 55.34 kB / 1.257 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.3841, allocations: 478 kB / 1.258 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3842, allocations: 29.7 kB / 1.258 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3844, allocations: 268.4 kB / 1.258 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/0.3845, allocations: 99.16 kB / 1.258 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3846, allocations: 73.97 kB / 1.258 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3848, allocations: 350.8 kB / 1.258 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.385, allocations: 108.6 kB / 1.258 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3852, allocations: 160.1 kB / 1.259 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.3857, allocations: 287.2 kB / 1.259 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3857, allocations: 0 / 1.259 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006202/0.3863, allocations: 361.3 kB / 1.259 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3864, allocations: 9.875 kB / 1.259 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3864, allocations: 0 / 1.259 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3864, allocations: 7.984 kB / 1.259 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.3867, allocations: 75.84 kB / 1.259 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3867, allocations: 4 kB / 1.259 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.387, allocations: 43.62 kB / 1.259 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.387, allocations: 23.92 kB / 1.259 GB, free: 3.059 MB / 0.9981 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.0002227/0.3872, allocations: 177.8 kB / 1.259 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.3873, allocations: 47.72 kB / 1.26 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000852/0.3882, allocations: 472.9 kB / 1.26 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.3882, allocations: 15.92 kB / 1.26 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3882, allocations: 0 / 1.26 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006538/0.3889, allocations: 0.5684 MB / 1.261 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.3908, allocations: 1.148 MB / 1.262 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.3908, allocations: 8 kB / 1.262 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.391, allocations: 55.91 kB / 1.262 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3911, allocations: 0 / 1.262 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3911, allocations: 12 kB / 1.262 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3911, allocations: 0 / 1.262 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3911, allocations: 4 kB / 1.262 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6355/1.027, allocations: 0.6682 MB / 1.262 GB, free: 50.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/1.027, allocations: 170.7 kB / 1.263 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/1.027, allocations: 10.03 kB / 1.263 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/1.027, allocations: 10.92 kB / 1.263 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/1.027, allocations: 21.38 kB / 1.263 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.027, allocations: 23.42 kB / 1.263 GB, free: 50.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003851/1.028, allocations: 350.6 kB / 1.263 GB, free: 50.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.028, allocations: 0 / 1.263 GB, free: 50.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006325/1.028, allocations: 197.9 kB / 1.263 GB, free: 50.51 MB / 0.9981 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.0006011/1.029, allocations: 294.8 kB / 1.263 GB, free: 50.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000472/1.029, allocations: 282.4 kB / 1.264 GB, free: 50.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.029, allocations: 3.531 kB / 1.264 GB, free: 50.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/1.03, allocations: 147 kB / 1.264 GB, free: 50.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/1.031, allocations: 332.1 kB / 1.264 GB, free: 50.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/1.033, allocations: 1.101 MB / 1.265 GB, free: 49.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/1.033, allocations: 0.8651 MB / 1.266 GB, free: 49.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/1.033, allocations: 60.19 kB / 1.266 GB, free: 49.21 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.033, allocations: 0.6562 kB / 1.266 GB, free: 49.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.02002/1.053, allocations: 9.968 MB / 1.276 GB, free: 48.14 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches