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.001144/0.001144, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002597, allocations: 449.7 kB / 10.37 MB, free: 328 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.000914/0.000914, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008399/0.001754, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9431/0.9431, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09282/1.036, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.818/1.818, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.453/2.271, allocations: 123.3 MB / 0.728 GB, free: 5.828 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.453e-06/1.453e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.27e-05, allocations: 2.969 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002345/0.002358, allocations: 2.06 MB / 0.7314 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003414, allocations: 0.7518 MB / 0.7321 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.003512, allocations: 4.625 kB / 0.7321 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.695e-05/0.003589, allocations: 20.39 kB / 0.7321 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.749e-05/0.003666, allocations: 27.11 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.003961, allocations: 101.2 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.004111, allocations: 149.1 kB / 0.7324 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004244, allocations: 70.75 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.004409, allocations: 108.4 kB / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.004478, allocations: 48.42 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.004503, allocations: 20.81 kB / 0.7326 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.004645, allocations: 67.94 kB / 0.7327 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.00471, allocations: 57.28 kB / 0.7327 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.004751, allocations: 43.81 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.004959, allocations: 175.3 kB / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.004973, allocations: 0 / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004974, allocations: 0.6562 kB / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.004987, allocations: 0 / 0.7329 GB, free: 0.8672 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.0005342/0.005521, allocations: 497.7 kB / 0.7334 GB, free: 368 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.005552, allocations: 16.02 kB / 0.7334 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.006176, allocations: 428 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.00639, allocations: 213.3 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.006472, allocations: 143.4 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.006492, allocations: 13.38 kB / 0.7342 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.006798, allocations: 282.9 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.006805, allocations: 0 / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.00682, allocations: 4.719 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.006825, allocations: 4 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.007004, allocations: 198.7 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.007744, allocations: 0.7056 MB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.007951, allocations: 185.1 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.008039, allocations: 105 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.008052, allocations: 8.484 kB / 0.7356 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.008069, allocations: 31.31 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.00807, allocations: 0 / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003318/0.008402, allocations: 294.1 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.008427, allocations: 56.14 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.008557, allocations: 233 kB / 0.7362 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.008574, allocations: 30.64 kB / 0.7363 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.00863, allocations: 136.2 kB / 0.7364 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.008652, allocations: 21.09 kB / 0.7364 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.00872, allocations: 65.62 kB / 0.7365 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.008795, allocations: 342.8 kB / 0.7368 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.008898, allocations: 121.5 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.009001, allocations: 129.6 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.009184, allocations: 211.7 kB / 0.7372 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009186, allocations: 0 / 0.7372 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.009414, allocations: 271.3 kB / 0.7375 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.009427, allocations: 10.75 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.009431, allocations: 0 / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.009438, allocations: 0 / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.009652, allocations: 159.7 kB / 0.7377 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.009655, allocations: 2.656 kB / 0.7377 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.009751, allocations: 71.78 kB / 0.7377 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.009842, allocations: 134.5 kB / 0.7379 GB, free: 11.67 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 7.653e-05/0.009918, allocations: 116.7 kB / 0.738 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.00995, allocations: 15.92 kB / 0.738 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.009978, allocations: 21.77 kB / 0.738 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.009982, allocations: 10.38 kB / 0.738 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.009984, allocations: 4 kB / 0.738 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009987, allocations: 0 / 0.738 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01025, allocations: 261.6 kB / 0.7383 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01025, allocations: 0 / 0.7383 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.01042, allocations: 157.7 kB / 0.7384 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01044, allocations: 23.89 kB / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01045, allocations: 3.938 kB / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.01046, allocations: 19.97 kB / 0.7385 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01046, allocations: 1.031 kB / 0.7385 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01047, allocations: 0 / 0.7385 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.01073, allocations: 366.7 kB / 0.7388 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.01075, allocations: 3.938 kB / 0.7388 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01086, allocations: 59.91 kB / 0.7389 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.01089, allocations: 14.42 kB / 0.7389 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/0.01098, allocations: 139.7 kB / 0.739 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.75e-05/0.01104, allocations: 80.03 kB / 0.7391 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01104, allocations: 0 / 0.7391 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001665/0.01121, allocations: 39.89 kB / 0.7391 GB, free: 10.32 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.0001032/0.01131, allocations: 90.47 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.01158, allocations: 289.8 kB / 0.7395 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.01158, allocations: 4.469 kB / 0.7395 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.0117, allocations: 153.7 kB / 0.7396 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.01188, allocations: 69.14 kB / 0.7397 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.01277, allocations: 474.7 kB / 0.7402 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.01282, allocations: 83.81 kB / 0.7402 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.01313, allocations: 377.2 kB / 0.7406 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.01326, allocations: 111.3 kB / 0.7407 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/0.01327, allocations: 2.5 kB / 0.7407 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.005019/0.01828, allocations: 3.476 MB / 0.7441 GB, free: 5.324 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.784887883812189]