Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 110 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.134/3.134, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.59 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 173.9 MB / 1.304 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00292/0.3663, allocations: 1.522 MB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.3671, allocations: 418.9 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.3672, allocations: 0 / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.3672, allocations: 3.938 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.3673, allocations: 19.86 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.3674, allocations: 15.98 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3676, allocations: 59.77 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3677, allocations: 4 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.3678, allocations: 23.92 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.3679, allocations: 23.86 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3679, allocations: 4 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.3679, allocations: 4 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.3679, allocations: 7.984 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.368, allocations: 23.86 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.3681, allocations: 52.03 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3681, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3681, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3681, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 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.000581/0.3687, allocations: 367.2 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3687, allocations: 8.922 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.3687, allocations: 34.75 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.3688, allocations: 8.875 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3689, allocations: 172.3 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3689, allocations: 384 / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.369, allocations: 8.375 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3691, allocations: 53.8 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3691, allocations: 0 / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3691, allocations: 0 / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3691, allocations: 4 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3693, allocations: 39.91 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.3697, allocations: 276.9 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3698, allocations: 38.55 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.3699, allocations: 24.94 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3699, allocations: 0 / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.37, allocations: 38.5 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.37, allocations: 3.938 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0003295/0.3703, allocations: 97.53 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3704, allocations: 51.41 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3705, allocations: 117.8 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3705, allocations: 25.7 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.3705, allocations: 96.06 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3706, allocations: 11.91 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3706, allocations: 17.72 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002933/0.3709, allocations: 322.8 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.371, allocations: 11.98 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.371, allocations: 19.98 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3712, allocations: 44.77 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3712, allocations: 4 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001696/0.3713, allocations: 69.67 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3713, allocations: 4 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3713, allocations: 0 / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.3714, allocations: 0 / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3715, allocations: 11.98 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3715, allocations: 0 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.3715, allocations: 4 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3715, allocations: 3.984 kB / 1.308 GB, free: 13.18 MB / 1.014 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 9.424e-05/0.3716, allocations: 121.8 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3717, allocations: 3.953 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.3717, allocations: 7.906 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3717, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3717, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3717, allocations: 4 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3719, allocations: 177.6 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3719, allocations: 3.938 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.372, allocations: 8 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.372, allocations: 4 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.372, allocations: 3.984 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.372, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.372, allocations: 3.938 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3722, allocations: 167.4 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.3723, allocations: 85.09 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3723, allocations: 4 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.3724, allocations: 4.375 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3724, allocations: 7.984 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3724, allocations: 0 / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.622e-05/0.3725, allocations: 95.27 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 3.938 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002139/0.3727, allocations: 7.953 kB / 1.309 GB, free: 12.38 MB / 1.014 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 0.0006779/0.3734, allocations: 0.7124 MB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3736, allocations: 31.97 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3736, allocations: 0 / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.3737, allocations: 23.92 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3739, allocations: 12 kB / 1.309 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.3745, allocations: 198.2 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.3749, allocations: 0.6807 MB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.3749, allocations: 4 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.375, allocations: 15.42 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/0.375, allocations: 4 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.3993, allocations: 1.524 MB / 1.312 GB, free: 9.234 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.293, allocations: 20 kB / 1.312 GB, free: 9.219 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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: 14.885560999624431]