Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007595/0.0007595, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008274/0.0008274, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8684/0.8684, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.72/1.72, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.042e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001967/0.001988, allocations: 1.516 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006213/0.002609, allocations: 467.7 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.002671, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.0027, allocations: 7.922 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.002758, allocations: 15.8 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.00301, allocations: 43.83 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.003124, allocations: 59.67 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.003221, allocations: 15.97 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.003342, allocations: 23.98 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.003402, allocations: 19.91 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003418, allocations: 4 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.003459, allocations: 12 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.003473, allocations: 7.922 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.003497, allocations: 15.98 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.00361, allocations: 55.73 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003612, allocations: 4 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.003614, allocations: 4 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003617, allocations: 0 / 1.002 GB, free: 11.23 MB / 0.9636 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.0004216/0.004039, allocations: 290.1 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.004082, allocations: 16.73 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.004112, allocations: 30.75 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.004251, allocations: 16.92 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.004423, allocations: 129.6 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004434, allocations: 8.375 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.004443, allocations: 384 / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.00458, allocations: 54.23 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004587, allocations: 4.188 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004597, allocations: 4.125 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004601, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.004675, allocations: 39.91 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.004926, allocations: 232.1 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.005003, allocations: 50.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.005042, allocations: 20.94 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.005054, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.005071, allocations: 38.5 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.005072, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.005262, allocations: 89.78 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.005285, allocations: 55.34 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.005353, allocations: 136.1 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.005361, allocations: 25.7 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.005395, allocations: 88.14 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.005409, allocations: 7.906 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.005434, allocations: 21.7 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.005505, allocations: 318.8 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.005538, allocations: 11.98 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.005569, allocations: 23.97 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.005637, allocations: 48.77 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005638, allocations: 3.938 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.448e-05/0.005733, allocations: 69.61 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.005744, allocations: 8 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.005748, allocations: 0 / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.005759, allocations: 3.984 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.005816, allocations: 8 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.00582, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.005843, allocations: 7.984 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.005849, allocations: 4 kB / 1.004 GB, free: 9.211 MB / 0.9636 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 4.921e-05/0.005898, allocations: 113.8 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.005911, allocations: 7.891 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.00593, allocations: 11.94 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005932, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.005936, allocations: 3.984 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.005938, allocations: 0 / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.006038, allocations: 144.7 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006039, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.006063, allocations: 7.984 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006065, allocations: 4 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.006071, allocations: 8 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006072, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.006073, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.006187, allocations: 171.4 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-06/0.006195, allocations: 7.891 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.006206, allocations: 4 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.006242, allocations: 3.984 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.006272, allocations: 7.938 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006274, allocations: 4 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.006309, allocations: 103.2 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006309, allocations: 0 / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001369/0.006446, allocations: 8 kB / 1.004 GB, free: 8.535 MB / 0.9636 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.0002676/0.006713, allocations: 0.6968 MB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.00682, allocations: 35.97 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.006822, allocations: 11.94 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.006859, allocations: 23.97 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.007001, allocations: 432 / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.007867, allocations: 1.367 MB / 1.006 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.00791, allocations: 71.34 kB / 1.006 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.007933, allocations: 0 / 1.006 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.007971, allocations: 20.48 kB / 1.006 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.007972, allocations: 3.938 kB / 1.006 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.02048, allocations: 2.213 MB / 1.009 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.267/6.288, allocations: 4.062 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TEnv from file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! Error: Could not read variable criSol.TIn in file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TIn from file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.280604782514274]