Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.001066/0.001066, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002599, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001042/0.001042, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002455, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9928/0.9928, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08415/1.077, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.789/1.789, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5437/2.333, allocations: 123.3 MB / 0.7283 GB, free: 5.695 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.744e-05, allocations: 7.438 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003627/0.003654, allocations: 2.068 MB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.004834, allocations: 0.7432 MB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.00492, allocations: 5.312 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.885e-05/0.005009, allocations: 24.48 kB / 0.7324 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.005081, allocations: 26.52 kB / 0.7325 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.00533, allocations: 97.94 kB / 0.7326 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.005489, allocations: 152.9 kB / 0.7327 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.00562, allocations: 70.23 kB / 0.7328 GB, free: 1.215 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.005785, allocations: 101.6 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.00586, allocations: 55.8 kB / 0.7329 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.005884, allocations: 16.5 kB / 0.7329 GB, free: 1.047 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.006015, allocations: 59.95 kB / 0.733 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.006089, allocations: 65.09 kB / 0.7331 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.006129, allocations: 43.81 kB / 0.7331 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.006338, allocations: 171.3 kB / 0.7333 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.006351, allocations: 1.562 kB / 0.7333 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006352, allocations: 4 kB / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.006363, allocations: 0 / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005676/0.006931, allocations: 496.6 kB / 0.7337 GB, free: 208 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.006963, allocations: 12.03 kB / 0.7338 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000646/0.007609, allocations: 428.7 kB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.007832, allocations: 216.7 kB / 0.7344 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.007924, allocations: 137.2 kB / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.007948, allocations: 16.31 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.008269, allocations: 284.2 kB / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.008276, allocations: 0 / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.008292, allocations: 4.656 kB / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.008298, allocations: 4 kB / 0.7348 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.008483, allocations: 197.6 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.009219, allocations: 0.7165 MB / 0.7357 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.009433, allocations: 172.8 kB / 0.7359 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.009524, allocations: 109.7 kB / 0.736 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.009539, allocations: 3.938 kB / 0.736 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.009559, allocations: 30.56 kB / 0.736 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.00956, allocations: 1.219 kB / 0.736 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003388/0.009899, allocations: 297.6 kB / 0.7363 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.009929, allocations: 52.31 kB / 0.7363 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01009, allocations: 241 kB / 0.7366 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01011, allocations: 26.36 kB / 0.7366 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.01018, allocations: 140.2 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.0102, allocations: 16.61 kB / 0.7367 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.01028, allocations: 73.61 kB / 0.7368 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.01037, allocations: 327.5 kB / 0.7371 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.01049, allocations: 125.8 kB / 0.7372 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.01059, allocations: 133.6 kB / 0.7374 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.01078, allocations: 213.1 kB / 0.7376 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01079, allocations: 0 / 0.7376 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002364/0.01102, allocations: 265.3 kB / 0.7378 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01104, allocations: 11.06 kB / 0.7378 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.01104, allocations: 0 / 0.7378 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.01105, allocations: 0 / 0.7378 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.01127, allocations: 159.7 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.01127, allocations: 0.5 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.01137, allocations: 73.25 kB / 0.7381 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.01147, allocations: 139 kB / 0.7382 GB, free: 11.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.078e-05/0.01155, allocations: 116.7 kB / 0.7383 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.01158, allocations: 19.91 kB / 0.7383 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.01161, allocations: 28.8 kB / 0.7383 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01162, allocations: 0 / 0.7383 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01162, allocations: 4 kB / 0.7383 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01162, allocations: 0 / 0.7383 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.01184, allocations: 265.6 kB / 0.7386 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01184, allocations: 0 / 0.7386 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.01202, allocations: 157.1 kB / 0.7387 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.01204, allocations: 23.84 kB / 0.7388 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01205, allocations: 3.938 kB / 0.7388 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.01206, allocations: 25.23 kB / 0.7388 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01207, allocations: 0 / 0.7388 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01207, allocations: 0 / 0.7388 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.01235, allocations: 360.5 kB / 0.7391 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01236, allocations: 4.594 kB / 0.7391 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01247, allocations: 61.41 kB / 0.7392 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.0125, allocations: 8.969 kB / 0.7392 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/0.0126, allocations: 141.5 kB / 0.7393 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.01266, allocations: 86.75 kB / 0.7394 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01266, allocations: 0.5625 kB / 0.7394 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001586/0.01282, allocations: 41.17 kB / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001216/0.01294, allocations: 88.42 kB / 0.7396 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.0132, allocations: 285.1 kB / 0.7398 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.01321, allocations: 4 kB / 0.7398 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.01336, allocations: 168.8 kB / 0.74 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01356, allocations: 116.1 kB / 0.7401 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.01445, allocations: 461.1 kB / 0.7405 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.0145, allocations: 87.81 kB / 0.7406 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004144/0.01491, allocations: 381 kB / 0.741 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.01505, allocations: 111.9 kB / 0.7411 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.01505, allocations: 0 / 0.7411 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of Templates: time 0.004872/0.01993, allocations: 3.482 MB / 0.7445 GB, free: 5.102 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.750061705708504]