Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_11_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.005493/0.005493, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001327/0.001327, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.5/2.5, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 68.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2445, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002283/0.2468, allocations: 1.5 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.2474, allocations: 415 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.2475, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.2475, allocations: 7.922 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.2476, allocations: 11.86 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2477, allocations: 15.98 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.2478, allocations: 55.72 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.2479, allocations: 12 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.248, allocations: 27.91 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.248, allocations: 23.86 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2481, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.2481, allocations: 4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.2481, allocations: 15.92 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2481, allocations: 19.86 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.813e-05/0.2482, allocations: 43.81 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2482, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2482, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2482, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 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.0004371/0.2487, allocations: 363.2 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2487, allocations: 12.03 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2488, allocations: 38.67 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.2488, allocations: 16.81 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2489, allocations: 172.3 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.2489, allocations: 4.375 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2489, allocations: 384 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2491, allocations: 65.8 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2491, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.2491, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2491, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2493, allocations: 35.97 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.2496, allocations: 272.8 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2497, allocations: 42.56 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.2498, allocations: 24.94 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2498, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2498, allocations: 38.55 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2498, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002811/0.2501, allocations: 93.55 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2502, allocations: 51.41 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.2502, allocations: 117.8 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2503, allocations: 29.7 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.2503, allocations: 92.12 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2503, allocations: 7.953 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.2504, allocations: 9.719 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2505, allocations: 330.8 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.2506, allocations: 15.98 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.2506, allocations: 15.98 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.2508, allocations: 40.83 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2508, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001566/0.2509, allocations: 73.56 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2509, allocations: 9.875 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.251, allocations: 7.938 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.251, allocations: 3.938 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.2511, allocations: 7.984 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2511, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.2511, allocations: 3.984 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.2511, allocations: 4 kB / 1.224 GB, free: 9.992 MB / 0.9825 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.182e-05/0.2512, allocations: 118.2 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2512, allocations: 11.95 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2513, allocations: 7.906 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2513, allocations: 336 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.2513, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2513, allocations: 4 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2515, allocations: 177.6 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2515, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.2515, allocations: 15.92 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2515, allocations: 0 / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2515, allocations: 0 / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2516, allocations: 4 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2516, allocations: 4 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.2518, allocations: 171.4 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.2518, allocations: 81.11 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.2518, allocations: 0 / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.2519, allocations: 4 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2519, allocations: 11.98 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.252, allocations: 0 / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.252, allocations: 91.27 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.252, allocations: 0 / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001961/0.2522, allocations: 8 kB / 1.225 GB, free: 9.195 MB / 0.9825 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.0004609/0.2527, allocations: 0.7084 MB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2529, allocations: 43.97 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2529, allocations: 0 / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.2529, allocations: 23.92 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.2531, allocations: 4.938 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.2536, allocations: 205.6 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.2538, allocations: 0.6845 MB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.2539, allocations: 4 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.2539, allocations: 19.42 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2539, allocations: 0 / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.994/3.247, allocations: 1.506 MB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/15.74, allocations: 11.39 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches