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.00144/0.00144, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001601/0.001601, allocations: 210.9 kB / 22.25 MB, free: 5.082 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.312/1.312, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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 2.845/2.845, allocations: 0.49 GB / 0.7951 GB, free: 33.6 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.001848/0.001848, allocations: 71.92 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2732, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002426/0.2756, allocations: 1.552 MB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.2763, allocations: 0.4948 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.2764, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.2764, allocations: 3.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.2765, allocations: 19.84 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.2766, allocations: 27.91 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2767, allocations: 59.77 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.2768, allocations: 8 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2769, allocations: 31.86 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.277, allocations: 27.84 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.277, allocations: 8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.277, allocations: 8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.2771, allocations: 15.92 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.2771, allocations: 19.86 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2772, allocations: 48.05 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2772, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2772, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.2772, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 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.0004227/0.2776, allocations: 302.1 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2777, allocations: 8.031 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.2777, allocations: 34.75 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.2779, allocations: 24.86 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2781, allocations: 126.4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.2781, allocations: 384 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2781, allocations: 4.375 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2782, allocations: 61.73 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2782, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2782, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2782, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.2784, allocations: 35.97 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2787, allocations: 244 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2788, allocations: 42.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.2789, allocations: 24.94 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2789, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2789, allocations: 30.56 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2789, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002839/0.2792, allocations: 89.61 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2792, allocations: 55.41 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.2793, allocations: 128.4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2793, allocations: 29.7 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2794, allocations: 92.12 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2794, allocations: 15.84 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.2794, allocations: 9.719 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2796, allocations: 330.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.2796, allocations: 19.98 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.2797, allocations: 20.17 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.2798, allocations: 40.92 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2798, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001556/0.2799, allocations: 69.66 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.28, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.28, allocations: 3.938 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.28, allocations: 7.938 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.2801, allocations: 11.98 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2801, allocations: 3.984 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.2801, allocations: 7.953 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.2801, allocations: 4 kB / 1.33 GB, free: 13.57 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 8.258e-05/0.2802, allocations: 113.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.2802, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.2802, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.2802, allocations: 11.94 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2802, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2802, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.2804, allocations: 148.6 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2804, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.2805, allocations: 8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2805, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2805, allocations: 3.984 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2805, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2805, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.2807, allocations: 175.4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.2807, allocations: 11.94 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2807, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.2808, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.2808, allocations: 3.984 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2808, allocations: 4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.2809, allocations: 99.27 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.2809, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002055/0.2811, allocations: 8 kB / 1.331 GB, free: 12.9 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.0004639/0.2816, allocations: 0.7084 MB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.2817, allocations: 39.97 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.2817, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.2818, allocations: 19.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.282, allocations: 5.562 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2833, allocations: 1.387 MB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2836, allocations: 0.6884 MB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2836, allocations: 4 kB / 1.333 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.2837, allocations: 11.44 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.2837, allocations: 0 / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.31, allocations: 1.677 MB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.662/9.972, allocations: 6.5 kB / 1.335 GB, free: 8.367 MB / 1.029 GB " [Timeout remaining time 290] (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: 15.908989236000707]