Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001169/0.001169, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001222/0.001222, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.89 kB / 1.059 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.261, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002612/0.2636, allocations: 1.519 MB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.2643, allocations: 423.8 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2643, allocations: 0 / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.2643, allocations: 7.922 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.2644, allocations: 11.86 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.2645, allocations: 19.98 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.242e-05/0.2646, allocations: 51.78 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.2647, allocations: 4 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.2648, allocations: 27.91 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.2649, allocations: 27.8 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2649, allocations: 4 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2649, allocations: 4 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.2649, allocations: 7.984 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.265, allocations: 23.86 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.2651, allocations: 44.03 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2651, allocations: 8 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2651, allocations: 3.938 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2651, allocations: 0 / 1.218 GB, free: 13.73 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.0004783/0.2656, allocations: 367.2 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2656, allocations: 8.031 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.2656, allocations: 34.73 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.2656, allocations: 4.938 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2658, allocations: 168.3 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2658, allocations: 4.375 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2658, allocations: 8.375 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.266, allocations: 57.73 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.266, allocations: 3.984 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.266, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.266, allocations: 4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2661, allocations: 31.97 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.2665, allocations: 280.9 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2666, allocations: 38.5 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.2667, allocations: 24.94 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2667, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2667, allocations: 34.55 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2667, allocations: 4 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003036/0.267, allocations: 85.66 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.267, allocations: 55.34 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.2671, allocations: 117.8 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2672, allocations: 25.7 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.2672, allocations: 92.08 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2672, allocations: 15.89 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.2673, allocations: 13.72 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2674, allocations: 330.7 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.2675, allocations: 11.98 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.2675, allocations: 19.98 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.2676, allocations: 40.83 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2676, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001672/0.2678, allocations: 73.62 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2678, allocations: 8 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2678, allocations: 4 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2678, allocations: 0 / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.2679, allocations: 11.98 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2679, allocations: 3.938 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.268, allocations: 7.984 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.268, allocations: 0 / 1.22 GB, free: 11.54 MB / 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 7.828e-05/0.2681, allocations: 117.8 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2681, allocations: 7.953 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.2681, allocations: 11.84 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2681, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2681, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2681, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2683, allocations: 177.6 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2683, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.2684, allocations: 11.98 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2684, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2684, allocations: 4 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2684, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2684, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.2686, allocations: 175.7 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.2687, allocations: 85 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.2687, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.2688, allocations: 4 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2688, allocations: 11.98 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2688, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.2689, allocations: 91.27 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2689, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002056/0.2691, allocations: 8 kB / 1.22 GB, free: 10.74 MB / 0.9669 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.0005088/0.2696, allocations: 0.7124 MB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.2697, allocations: 35.91 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2697, allocations: 0 / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.2698, allocations: 19.98 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.27, allocations: 8 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.2705, allocations: 201.7 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2708, allocations: 0.6884 MB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.2708, allocations: 0 / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.2708, allocations: 15.42 kB / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.2708, allocations: 0 / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.294, allocations: 1.485 MB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.161, allocations: 11.5 kB / 1.223 GB, free: 7.57 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TEnv from file Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! Error: Could not read variable criSol.TIn in file Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TIn from file Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.414319103998423]