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.001072/0.001072, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008247/0.008247, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.564/2.564, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 12 kB / 0.8729 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5839/0.5842, allocations: 153.8 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001565/0.5858, allocations: 1.231 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005899/0.5865, allocations: 407.1 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.5865, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.5865, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.5866, allocations: 15.86 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.5868, allocations: 15.98 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.5869, allocations: 51.73 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.5869, allocations: 15.89 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.587, allocations: 19.92 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.5871, allocations: 15.92 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.5872, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.5872, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.5872, allocations: 15.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.5872, allocations: 41.58 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.53e-05/0.5873, allocations: 42.11 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5873, allocations: 3.938 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5873, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5874, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 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.0004248/0.5878, allocations: 353.2 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5878, allocations: 16.03 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.5879, allocations: 38.73 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.5879, allocations: 8.844 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.588, allocations: 172.2 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.588, allocations: 4.375 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.588, allocations: 384 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5882, allocations: 61.8 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5882, allocations: 3.938 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5883, allocations: 8 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.5883, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.5884, allocations: 43.97 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.5888, allocations: 276.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.5889, allocations: 46.56 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.589, allocations: 24.94 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.589, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.589, allocations: 38.56 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.589, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003213/0.5894, allocations: 105.5 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.5894, allocations: 51.41 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.5895, allocations: 121.8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5895, allocations: 25.7 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.5896, allocations: 96.12 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.5896, allocations: 11.83 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.5896, allocations: 13.72 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.5897, allocations: 322.8 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.5898, allocations: 19.98 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.5899, allocations: 27.98 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.59, allocations: 44.84 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.59, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001827/0.5902, allocations: 85.5 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5902, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5903, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5903, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5904, allocations: 19.98 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.5904, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.5904, allocations: 8 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.5905, allocations: 0 / 1.027 GB, free: 11.65 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.577e-05/0.5905, allocations: 117.8 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.5906, allocations: 8.172 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.5906, allocations: 11.91 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5906, allocations: 7.922 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5906, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5906, allocations: 0 / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.5908, allocations: 169.6 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5908, allocations: 8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.5909, allocations: 11.98 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.5909, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.5909, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5909, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5909, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.5912, allocations: 187.4 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.5912, allocations: 81.02 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.5912, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.5913, allocations: 11.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.5913, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.5914, allocations: 3.984 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.5914, allocations: 95.28 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5914, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002162/0.5916, allocations: 4 kB / 1.028 GB, free: 10.85 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.0004581/0.5921, allocations: 0.724 MB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.5923, allocations: 47.95 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5923, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.743e-05/0.5924, allocations: 31.98 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.5926, allocations: 0.5625 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.593, allocations: 216 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.5933, allocations: 0.6887 MB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.5933, allocations: 4 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.5934, allocations: 22.92 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5934, allocations: 0 / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.6038, allocations: 1.248 MB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.604, allocations: 234.5 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.425, allocations: 0 / 1.031 GB, free: 7.691 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