Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001162/0.001162, allocations: 80.92 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001112/0.001112, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 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.9827/0.9827, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.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.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.345e-05, allocations: 2.312 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002275/0.002298, allocations: 1.568 MB / 0.7616 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000645/0.002943, allocations: 0.4909 MB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.003, allocations: 4 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.003027, allocations: 3.938 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.003085, allocations: 15.59 kB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.003289, allocations: 31.95 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003408, allocations: 59.11 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.003482, allocations: 7.984 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.003607, allocations: 48.95 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.003664, allocations: 15.92 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.003678, allocations: 4.531 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.00372, allocations: 8 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.003734, allocations: 13.17 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.003751, allocations: 8 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.613e-05/0.003848, allocations: 51.81 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00385, allocations: 1.031 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003851, allocations: 0 / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003854, allocations: 0 / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003094/0.004164, allocations: 258.8 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.004197, allocations: 12.03 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.00432, allocations: 24.91 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.004442, allocations: 134.8 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.00445, allocations: 384 / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.004457, allocations: 384 / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.004547, allocations: 60 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.004553, allocations: 4.188 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.00456, allocations: 384 / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.004565, allocations: 4.938 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.004584, allocations: 7.984 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.004783, allocations: 156.8 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.004837, allocations: 27.25 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.004853, allocations: 8.859 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.004865, allocations: 0.75 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.004886, allocations: 34.62 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004887, allocations: 0.75 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001167/0.005004, allocations: 63.02 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.005035, allocations: 51.41 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.005102, allocations: 126.3 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.005112, allocations: 25.7 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.005149, allocations: 97.3 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.005167, allocations: 7.906 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.005193, allocations: 17.72 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.00529, allocations: 318.8 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.005303, allocations: 5.25 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.005314, allocations: 0 / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.005344, allocations: 16.84 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.005346, allocations: 0.5 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.556e-05/0.005402, allocations: 44.5 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.005415, allocations: 8 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.005422, allocations: 3.938 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.005433, allocations: 0 / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.005496, allocations: 7.984 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005499, allocations: 0 / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.005518, allocations: 8 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.005524, allocations: 0 / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.651e-05/0.00558, allocations: 116.9 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.005594, allocations: 3.984 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.005613, allocations: 11.94 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005615, allocations: 336 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005616, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.005619, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.005704, allocations: 77.88 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.005707, allocations: 5.484 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.005728, allocations: 8 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.00573, allocations: 0 / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005736, allocations: 3.984 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005737, allocations: 0.6562 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.005738, allocations: 3.938 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/0.005817, allocations: 141.2 kB / 0.7641 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-06/0.005826, allocations: 7.953 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005834, allocations: 0 / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.005868, allocations: 11.92 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.005893, allocations: 3.938 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.005898, allocations: 6.438 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.675e-05/0.005914, allocations: 20.84 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005914, allocations: 0 / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001142/0.006029, allocations: 8 kB / 0.7642 GB, free: 2.227 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 7.12e-05/0.0061, allocations: 76.42 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.006161, allocations: 23.25 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.006164, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.006178, allocations: 8.859 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.006283, allocations: 11.98 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.006707, allocations: 174.2 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.006739, allocations: 59.34 kB / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.006757, allocations: 2.094 kB / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.006794, allocations: 51.38 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.006794, allocations: 0 / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of Templates: time 0.001824/0.008618, allocations: 462.6 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.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: 5.1366828312166035]