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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 113.4 kB / 17.96 MB, free: 3.91 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.001781/0.001781, allocations: 188.4 kB / 21.21 MB, free: 0.6719 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.439/1.439, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.7 MB / 0.7635 GB, free: 10.17 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 1.108 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9944, allocations: 168.7 MB / 1.272 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002865/0.9973, allocations: 1.52 MB / 1.274 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.998, allocations: 427 kB / 1.274 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.998, allocations: 0 / 1.274 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.9981, allocations: 7.938 kB / 1.274 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.9981, allocations: 11.86 kB / 1.274 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.9983, allocations: 15.98 kB / 1.274 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.797e-05/0.9984, allocations: 55.72 kB / 1.274 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.9985, allocations: 8 kB / 1.274 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.9986, allocations: 27.91 kB / 1.274 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.9986, allocations: 23.91 kB / 1.274 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.9987, allocations: 4 kB / 1.274 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.9987, allocations: 4 kB / 1.274 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.9987, allocations: 7.938 kB / 1.274 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.9987, allocations: 15.92 kB / 1.274 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.9988, allocations: 49.58 kB / 1.275 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.9988, allocations: 0 / 1.275 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9988, allocations: 0 / 1.275 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.9988, allocations: 0 / 1.275 GB, free: 2.246 MB / 0.9669 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.0005268/0.9994, allocations: 375.2 kB / 1.275 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9994, allocations: 8.031 kB / 1.275 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.9994, allocations: 34.69 kB / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.9995, allocations: 8.891 kB / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.9996, allocations: 172.3 kB / 1.275 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.9996, allocations: 4.375 kB / 1.275 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.9996, allocations: 4.375 kB / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.9998, allocations: 53.8 kB / 1.275 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.9998, allocations: 4 kB / 1.275 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.9998, allocations: 7.875 kB / 1.275 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.9998, allocations: 0 / 1.275 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.9999, allocations: 39.95 kB / 1.275 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/1, allocations: 272.8 kB / 1.275 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1, allocations: 46.55 kB / 1.275 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/1.001, allocations: 26.52 kB / 1.276 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/1.001, allocations: 0 / 1.276 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.001, allocations: 30.56 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/1.001, allocations: 0 / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003368/1.001, allocations: 93.55 kB / 1.276 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.001, allocations: 55.41 kB / 1.276 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/1.001, allocations: 121.8 kB / 1.276 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.001, allocations: 29.7 kB / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/1.001, allocations: 84.14 kB / 1.276 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/1.001, allocations: 11.95 kB / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/1.001, allocations: 13.7 kB / 1.276 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.001, allocations: 322.8 kB / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/1.001, allocations: 23.98 kB / 1.276 GB, free: 224 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/1.001, allocations: 15.98 kB / 1.276 GB, free: 208 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/1.002, allocations: 40.83 kB / 1.276 GB, free: 164 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.002, allocations: 3.938 kB / 1.276 GB, free: 160 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001661/1.002, allocations: 69.62 kB / 1.276 GB, free: 84 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.002, allocations: 4 kB / 1.276 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.002, allocations: 4 kB / 1.276 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.002, allocations: 7.984 kB / 1.276 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/1.002, allocations: 4 kB / 1.276 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.002, allocations: 4 kB / 1.276 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/1.002, allocations: 7.922 kB / 1.276 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/1.002, allocations: 4 kB / 1.276 GB, free: 48 kB / 0.9669 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 0.0001043/1.002, allocations: 114.3 kB / 1.277 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/1.002, allocations: 7.953 kB / 1.277 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/1.002, allocations: 7.906 kB / 1.277 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.002, allocations: 4 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.002, allocations: 3.938 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.002, allocations: 7.984 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/1.002, allocations: 173.6 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.002, allocations: 0 / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/1.002, allocations: 15.92 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.002, allocations: 0 / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/1.002, allocations: 0 / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.002, allocations: 0 / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/1.002, allocations: 0 / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/1.003, allocations: 179.7 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/1.003, allocations: 77.11 kB / 1.277 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/1.003, allocations: 0 / 1.277 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/1.003, allocations: 8.047 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/1.003, allocations: 11.97 kB / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.003, allocations: 0 / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.79e-05/1.003, allocations: 95.27 kB / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.003, allocations: 0 / 1.277 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002256/1.003, allocations: 8 kB / 1.277 GB, free: 15.25 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.0005593/1.004, allocations: 0.7045 MB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001805/1.004, allocations: 43.97 kB / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.004, allocations: 0 / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/1.004, allocations: 19.92 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/1.004, allocations: 10.34 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/1.005, allocations: 207.7 kB / 1.278 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/1.005, allocations: 0.6846 MB / 1.279 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.728e-05/1.005, allocations: 0 / 1.279 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/1.005, allocations: 19.42 kB / 1.279 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.005, allocations: 0 / 1.279 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/1.028, allocations: 1.485 MB / 1.28 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.985, allocations: 5.781 kB / 1.28 GB, free: 12.07 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable criSol.TEnv in file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TEnv from file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! Error: Could not read variable criSol.TIn in file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TIn from file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.184970004949719]