Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 108.2 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 207.1 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003198/0.003198, allocations: 59.91 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3337, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02626/0.3599, allocations: 21.66 MB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007816/0.3678, allocations: 4.738 MB / 1.353 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006993/0.3684, allocations: 39.69 kB / 1.353 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.3693, allocations: 278.1 kB / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.3713, allocations: 0.8425 MB / 1.354 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3732, allocations: 0.7813 MB / 1.355 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.3753, allocations: 1.652 MB / 1.356 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.376, allocations: 406.1 kB / 1.357 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.3778, allocations: 0.735 MB / 1.357 GB, free: 1.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.3785, allocations: 469.9 kB / 1.358 GB, free: 1.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.3786, allocations: 48 kB / 1.358 GB, free: 1.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009283/0.3795, allocations: 423.2 kB / 1.358 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3797, allocations: 151.4 kB / 1.359 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.38, allocations: 254.8 kB / 1.359 GB, free: 448 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3813, allocations: 0.9303 MB / 1.36 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3813, allocations: 4 kB / 1.36 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3813, allocations: 0 / 1.36 GB, free: 15.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.3813, allocations: 0 / 1.36 GB, free: 15.5 MB / 1.061 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.001426/0.3828, allocations: 0.8314 MB / 1.36 GB, free: 14.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3828, allocations: 12.03 kB / 1.36 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.383, allocations: 68.56 kB / 1.361 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3841, allocations: 0.5076 MB / 1.361 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3842, allocations: 32.94 kB / 1.361 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.3843, allocations: 40 kB / 1.361 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.3851, allocations: 0.5056 MB / 1.362 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3851, allocations: 0 / 1.362 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.3851, allocations: 16 kB / 1.362 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.3852, allocations: 12 kB / 1.362 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.3857, allocations: 299.8 kB / 1.362 GB, free: 13.09 MB / 1.061 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.002638/0.3883, allocations: 1.455 MB / 1.363 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.3889, allocations: 246.7 kB / 1.364 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.3891, allocations: 120 kB / 1.364 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/0.3896, allocations: 107.9 kB / 1.364 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3896, allocations: 34.56 kB / 1.364 GB, free: 11.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.3896, allocations: 0 / 1.364 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0007309/0.3904, allocations: 365.2 kB / 1.364 GB, free: 10.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3904, allocations: 55.41 kB / 1.364 GB, free: 10.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.3909, allocations: 401.8 kB / 1.365 GB, free: 10.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.3909, allocations: 33.7 kB / 1.365 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.3912, allocations: 276.4 kB / 1.365 GB, free: 9.922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.3913, allocations: 99.23 kB / 1.365 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3914, allocations: 69.98 kB / 1.365 GB, free: 9.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3916, allocations: 358.8 kB / 1.365 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.3917, allocations: 96.55 kB / 1.366 GB, free: 9.297 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.3921, allocations: 245.2 kB / 1.366 GB, free: 9.016 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.3925, allocations: 278.7 kB / 1.366 GB, free: 8.719 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3925, allocations: 7.938 kB / 1.366 GB, free: 8.711 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006201/0.3931, allocations: 365.1 kB / 1.366 GB, free: 8.348 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3931, allocations: 4 kB / 1.366 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3931, allocations: 4 kB / 1.366 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.3932, allocations: 4 kB / 1.366 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.3935, allocations: 71.89 kB / 1.366 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3935, allocations: 8.156 kB / 1.366 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.3937, allocations: 39.72 kB / 1.366 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.3938, allocations: 12 kB / 1.367 GB, free: 8.207 MB / 1.061 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.0002154/0.394, allocations: 182.4 kB / 1.367 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.3941, allocations: 43.72 kB / 1.367 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000874/0.3949, allocations: 477.1 kB / 1.367 GB, free: 7.504 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006598/0.3956, allocations: 0.5725 MB / 1.368 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3956, allocations: 0 / 1.368 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.3958, allocations: 91.53 kB / 1.368 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.3959, allocations: 4 kB / 1.368 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.3961, allocations: 11.98 kB / 1.368 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.3962, allocations: 20 kB / 1.368 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008222/0.397, allocations: 476.2 kB / 1.368 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001006/0.398, allocations: 0.7512 MB / 1.369 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002302/0.3982, allocations: 148 kB / 1.369 GB, free: 5.352 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003552/0.3986, allocations: 283.1 kB / 1.369 GB, free: 5.078 MB / 1.061 GB Notification: Performance of Backend: time 6.82e-07/0.3986, allocations: 0 / 1.369 GB, free: 5.078 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.3997, allocations: 421.6 kB / 1.37 GB, free: 4.66 MB / 1.061 GB Notification: Performance of SimCode: time 0.002344/0.402, allocations: 1.563 MB / 1.371 GB, free: 3.055 MB / 1.061 GB Notification: Performance of Templates: time 0.01985/0.4219, allocations: 11.5 MB / 1.383 GB, free: 7.746 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.950270569002896]