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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002236/0.002237, allocations: 195.3 kB / 16.14 MB, free: 6.719 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.793/2.793, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.14 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6507, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002616/0.6534, allocations: 1.566 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005883/0.654, allocations: 411 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.6541, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.6541, allocations: 11.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.6542, allocations: 7.922 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.6543, allocations: 19.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.6544, allocations: 47.73 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.6545, allocations: 11.98 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.6546, allocations: 23.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.6547, allocations: 23.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.6547, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.6547, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.6548, allocations: 7.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.6548, allocations: 23.86 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.294e-05/0.6549, allocations: 38.12 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.6549, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6549, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6549, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 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.0004945/0.6554, allocations: 367.3 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6555, allocations: 12.03 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.6555, allocations: 34.69 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.6555, allocations: 8.812 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6557, allocations: 172.4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6557, allocations: 8.375 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.6557, allocations: 384 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.6559, allocations: 57.78 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.6559, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6559, allocations: 8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6559, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.6561, allocations: 35.97 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.6564, allocations: 276.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6566, allocations: 42.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.6566, allocations: 20.94 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.6567, allocations: 8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.6567, allocations: 30.56 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.6567, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000299/0.657, allocations: 89.59 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.6571, allocations: 51.41 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.6572, allocations: 117.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.6572, allocations: 25.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.6572, allocations: 96.05 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.6572, allocations: 7.844 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.6573, allocations: 17.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6574, allocations: 322.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.6575, allocations: 19.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.6575, allocations: 15.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.6577, allocations: 40.83 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6577, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001713/0.6579, allocations: 73.59 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.6579, allocations: 8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6579, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6579, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.658, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.658, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.6581, allocations: 11.89 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.6581, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 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.525e-05/0.6582, allocations: 117.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.6582, allocations: 4.328 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.6583, allocations: 15.89 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6583, allocations: 3.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6583, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6583, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.6585, allocations: 173.6 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6585, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.6585, allocations: 11.92 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6586, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.6586, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6586, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6586, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.6588, allocations: 175.4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.6589, allocations: 81.02 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.6589, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.659, allocations: 11.98 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.659, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.659, allocations: 8 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.6591, allocations: 91.27 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6591, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002227/0.6593, allocations: 8 kB / 1.021 GB, free: 13.67 MB / 0.7794 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.0004794/0.6598, allocations: 0.7085 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.66, allocations: 39.97 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.66, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.6601, allocations: 23.92 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.6603, allocations: 14.97 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.6608, allocations: 209 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.6611, allocations: 0.6848 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.6611, allocations: 3.984 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.6612, allocations: 19.44 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6612, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.6716, allocations: 1.305 MB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.6718, allocations: 229.5 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.464, allocations: 7.688 kB / 1.025 GB, free: 10.46 MB / 0.7794 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=50 --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