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.000789/0.000789, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007782/0.0007782, allocations: 170.3 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.8448/0.8448, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.673/1.673, allocations: 377.8 MB / 0.6221 GB, free: 8.617 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.9809 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.46e-05, allocations: 5.234 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001656/0.001671, allocations: 1.53 MB / 0.9824 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005613/0.002232, allocations: 474.8 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.002284, allocations: 0 / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.00231, allocations: 3.938 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.002354, allocations: 15.86 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.002576, allocations: 35.89 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.002678, allocations: 51.73 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.002768, allocations: 15.92 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.002887, allocations: 43.84 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.00294, allocations: 19.92 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002953, allocations: 4 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-05/0.002992, allocations: 8 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.003004, allocations: 11.97 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.003025, allocations: 11.94 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.003129, allocations: 51.86 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00313, allocations: 0 / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003132, allocations: 0 / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003135, allocations: 3.938 kB / 0.9832 GB, free: 288 kB / 0.9323 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.0004775/0.003613, allocations: 296.7 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.003648, allocations: 12.03 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.003672, allocations: 30.75 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.003783, allocations: 28.81 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.003922, allocations: 125.5 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003931, allocations: 4.359 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.003939, allocations: 4.375 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.004075, allocations: 54.23 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.004081, allocations: 192 / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00409, allocations: 8.125 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004094, allocations: 3.938 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.004164, allocations: 35.97 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.004421, allocations: 236 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.004503, allocations: 50.48 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.004541, allocations: 20.94 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.004555, allocations: 4 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.004572, allocations: 38.56 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.004573, allocations: 0 / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.004763, allocations: 81.59 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.004791, allocations: 55.41 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.004859, allocations: 121.8 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.004868, allocations: 29.7 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.004906, allocations: 96.03 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.004919, allocations: 3.953 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.005015, allocations: 21.7 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.005087, allocations: 314.8 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.005123, allocations: 19.98 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.005153, allocations: 16.17 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.005221, allocations: 44.91 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005223, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.791e-05/0.005321, allocations: 85.48 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.005331, allocations: 8 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005335, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.005344, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.0054, allocations: 15.92 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.005405, allocations: 0 / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.005427, allocations: 4 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.005433, allocations: 0 / 0.985 GB, free: 14.26 MB / 0.948 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 5.127e-05/0.005484, allocations: 113.8 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.005498, allocations: 11.89 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.607e-05/0.005514, allocations: 7.984 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005516, allocations: 4 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.00552, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.005521, allocations: 4 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.005623, allocations: 140.7 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005624, allocations: 4 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.005649, allocations: 11.98 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-07/0.00565, allocations: 0 / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.005655, allocations: 3.938 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005656, allocations: 0 / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005656, allocations: 0 / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.005769, allocations: 179.4 kB / 0.9854 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.005777, allocations: 11.94 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.005787, allocations: 0 / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.005823, allocations: 7.984 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.005853, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005855, allocations: 4 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.005888, allocations: 95.27 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005888, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001377/0.006025, allocations: 8 kB / 0.9855 GB, free: 13.6 MB / 0.948 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.0003739/0.006399, allocations: 0.7128 MB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.006504, allocations: 35.97 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006505, allocations: 0 / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.006542, allocations: 23.92 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.006688, allocations: 4 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.007584, allocations: 1.369 MB / 0.9876 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.007626, allocations: 75.25 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.007649, allocations: 4 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.007686, allocations: 16.5 kB / 0.9877 GB, free: 11.23 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.007687, allocations: 4 kB / 0.9877 GB, free: 11.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.02439, allocations: 2.209 MB / 0.9899 GB, free: 9.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/6.392, allocations: 1.719 kB / 0.9899 GB, free: 9.16 MB / 0.948 GB " [Timeout remaining time 294] (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/jenkins/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: 10.327274949289858]