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.001648/0.001648, allocations: 104.4 kB / 19.71 MB, free: 2.125 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.001753/0.001753, allocations: 215.5 kB / 23 MB, free: 4.945 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.392/3.392, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002122/0.002122, allocations: 71.69 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3444, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003616/0.3481, allocations: 1.953 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3495, allocations: 0.7208 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3497, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3498, allocations: 19.73 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.3499, allocations: 19.81 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.3503, allocations: 99.77 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3505, allocations: 151.6 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3507, allocations: 60.91 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3509, allocations: 75.64 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.351, allocations: 59.69 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.3511, allocations: 12 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.3512, allocations: 67.95 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3514, allocations: 75.73 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.3514, allocations: 75.47 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.3518, allocations: 262.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3518, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3518, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3518, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 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.0009078/0.3527, allocations: 488.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3528, allocations: 12.03 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.3546, allocations: 439.9 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.3551, allocations: 249.7 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.3552, allocations: 123.6 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3552, allocations: 8.375 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.3561, allocations: 391.9 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3561, allocations: 3.984 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3562, allocations: 4 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3562, allocations: 8 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3575, allocations: 0.5351 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3593, allocations: 0.8879 MB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.36, allocations: 290.2 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/0.3606, allocations: 272.6 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3606, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3607, allocations: 34.56 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3607, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002038/0.3627, allocations: 0.7859 MB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3627, allocations: 51.41 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.3631, allocations: 297.8 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3631, allocations: 29.64 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3633, allocations: 160.1 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3633, allocations: 23.73 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.3634, allocations: 37.69 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3635, allocations: 334.8 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/0.3642, allocations: 255.8 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.3648, allocations: 263.7 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3659, allocations: 432.4 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3659, allocations: 7.938 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00133/0.3672, allocations: 0.5323 MB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3672, allocations: 4 kB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3672, allocations: 3.938 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3673, allocations: 4 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.3677, allocations: 91.83 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3677, allocations: 0 / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.368, allocations: 75.81 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.368, allocations: 11.98 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001748/0.3682, allocations: 146.3 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.3683, allocations: 15.91 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.3683, allocations: 25.7 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3683, allocations: 0 / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3683, allocations: 0 / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3683, allocations: 4 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.3688, allocations: 351.7 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3688, allocations: 3.938 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.3692, allocations: 95.83 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3692, allocations: 0 / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.3692, allocations: 7.984 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3692, allocations: 0 / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3692, allocations: 0 / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3706, allocations: 0.6322 MB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3706, allocations: 23.86 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3707, allocations: 0 / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.371, allocations: 75.86 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.3711, allocations: 11.98 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3711, allocations: 11.98 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002379/0.3713, allocations: 213.1 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 4 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003142/0.3716, allocations: 43.92 kB / 1.338 GB, free: 5.25 MB / 1.029 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.0001682/0.3718, allocations: 103.2 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.3731, allocations: 0.5268 MB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3731, allocations: 0 / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.3738, allocations: 279.8 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3741, allocations: 16.59 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3754, allocations: 0.6316 MB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.3756, allocations: 136.6 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3757, allocations: 39.38 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.3757, allocations: 0 / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of Templates: time 0.006647/0.3824, allocations: 3.857 MB / 1.344 GB, free: 15.61 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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: 12.207325463648885]