Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 110 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.039/3.039, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 68.84 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002652/0.3296, allocations: 1.539 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.3304, allocations: 0.4909 MB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.3304, allocations: 4 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3305, allocations: 3.938 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.3305, allocations: 11.86 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.3307, allocations: 35.89 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3308, allocations: 55.78 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.3309, allocations: 8 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.331, allocations: 35.86 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3311, allocations: 31.83 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3311, allocations: 4 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.213e-05/0.3312, allocations: 8 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.3312, allocations: 7.938 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.3312, allocations: 23.86 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3313, allocations: 55.97 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3313, allocations: 3.984 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3313, allocations: 0 / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3313, allocations: 8 kB / 1.323 GB, free: 1.059 MB / 1.014 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.0005064/0.3318, allocations: 359.2 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3319, allocations: 11.98 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.3319, allocations: 42.75 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3321, allocations: 24.86 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3323, allocations: 180.3 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.3323, allocations: 4.375 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3323, allocations: 8.375 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3325, allocations: 57.73 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3325, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3325, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-06/0.3325, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.3326, allocations: 35.97 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.333, allocations: 276.9 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.3331, allocations: 42.48 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.3332, allocations: 24.94 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3332, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3333, allocations: 34.55 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3333, allocations: 4 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003113/0.3336, allocations: 89.61 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3336, allocations: 51.41 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3337, allocations: 133.3 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3337, allocations: 29.7 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.3338, allocations: 88.14 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3338, allocations: 19.83 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.3338, allocations: 17.72 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.334, allocations: 318.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.334, allocations: 15.98 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.3341, allocations: 19.98 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3342, allocations: 40.83 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3342, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001754/0.3344, allocations: 77.59 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3344, allocations: 8 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3344, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3344, allocations: 3.938 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.3345, allocations: 7.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3345, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.3346, allocations: 3.953 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3346, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 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.897e-05/0.3347, allocations: 113.8 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3347, allocations: 4 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.3347, allocations: 11.89 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3347, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3347, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3347, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3349, allocations: 173.6 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3349, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.167e-05/0.335, allocations: 15.98 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.335, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.335, allocations: 8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.335, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.335, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3352, allocations: 171.3 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3353, allocations: 85.06 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3353, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.3354, allocations: 11.98 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.3354, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3354, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.3355, allocations: 99.27 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002168/0.3357, allocations: 8 kB / 1.326 GB, free: 14.03 MB / 1.029 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.000514/0.3362, allocations: 0.7165 MB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.3364, allocations: 40 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3364, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.3365, allocations: 19.98 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3367, allocations: 9.891 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3381, allocations: 1.379 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3384, allocations: 0.6846 MB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.3385, allocations: 3.984 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.3385, allocations: 15.44 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/0.3385, allocations: 4 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.362, allocations: 1.573 MB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.096, allocations: 15.84 kB / 1.33 GB, free: 9.59 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TEnv from file Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! Error: Could not read variable criSol.TIn in file Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TIn from file Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.379638571059331]