Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004423/0.004423, allocations: 100.3 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 189.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.245/2.245, allocations: 437.1 MB / 0.7106 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 71.97 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6442/0.6459, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002295/0.6483, allocations: 1.504 MB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.6489, allocations: 423 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.6489, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.649, allocations: 11.92 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.649, allocations: 11.86 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.6491, allocations: 11.98 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.6492, allocations: 55.72 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.6493, allocations: 12 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.164e-05/0.6494, allocations: 23.91 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.6495, allocations: 19.92 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.6495, allocations: 4 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.6495, allocations: 4 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.6496, allocations: 11.92 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.6496, allocations: 23.88 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.839e-05/0.6497, allocations: 47.52 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6497, allocations: 0 / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6497, allocations: 0 / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.6497, allocations: 4 kB / 1.168 GB, free: 1.59 MB / 0.8887 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.0004557/0.6502, allocations: 359.2 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6502, allocations: 8.922 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.6503, allocations: 42.73 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.6503, allocations: 4.875 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.6504, allocations: 176.2 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.6504, allocations: 4.375 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.6504, allocations: 384 / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.6506, allocations: 61.8 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.6506, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.6506, allocations: 4 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.6506, allocations: 0 / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.6507, allocations: 31.97 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.6511, allocations: 280.7 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.6512, allocations: 54.55 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.6513, allocations: 20.94 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.6513, allocations: 0 / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.6513, allocations: 34.56 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.6513, allocations: 0 / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002808/0.6516, allocations: 93.58 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.6517, allocations: 55.41 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.6518, allocations: 113.8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.6518, allocations: 29.7 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.6518, allocations: 96.08 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.6519, allocations: 3.953 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.6519, allocations: 17.72 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.652, allocations: 322.8 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.6521, allocations: 19.98 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.6522, allocations: 15.98 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.6523, allocations: 40.83 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6523, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001577/0.6525, allocations: 77.56 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.6525, allocations: 8 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.6525, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6525, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.6526, allocations: 11.98 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.6526, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.6527, allocations: 7.938 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.6527, allocations: 7.922 kB / 1.17 GB, free: 15.39 MB / 0.9044 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 7.279e-05/0.6527, allocations: 113.8 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.6528, allocations: 7.953 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.6528, allocations: 11.91 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6528, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6528, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.6528, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.653, allocations: 177.6 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.653, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.6531, allocations: 8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.6531, allocations: 11.92 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.6531, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6531, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6531, allocations: 4 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.6533, allocations: 167.5 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.6534, allocations: 85.05 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.6534, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.6535, allocations: 8.312 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.6535, allocations: 3.984 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.6535, allocations: 8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.6536, allocations: 91.27 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6536, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001977/0.6538, allocations: 12 kB / 1.171 GB, free: 14.6 MB / 0.9044 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.0004885/0.6543, allocations: 0.7084 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.6544, allocations: 39.97 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6544, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.6545, allocations: 23.92 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.6547, allocations: 11.72 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.6551, allocations: 197.8 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.6554, allocations: 0.6846 MB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.6554, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.6555, allocations: 19.42 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.6555, allocations: 3.938 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9434/1.599, allocations: 1.504 MB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.87, allocations: 11.88 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches