Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001671/0.001671, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.001883/0.001883, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7611 GB, free: 11.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.89 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9347/0.9369, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003272/0.9402, allocations: 1.507 MB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.9411, allocations: 415 kB / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.9411, allocations: 0 / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.9412, allocations: 11.88 kB / 1.271 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.9412, allocations: 11.86 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.9414, allocations: 19.97 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.9416, allocations: 51.73 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.9417, allocations: 7.984 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.9418, allocations: 27.91 kB / 1.271 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.9419, allocations: 19.92 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.9419, allocations: 4 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.9419, allocations: 4 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.9419, allocations: 15.92 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.942, allocations: 19.88 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.9421, allocations: 49.58 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9421, allocations: 0 / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9421, allocations: 0 / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9421, allocations: 0 / 1.271 GB, free: 2.984 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.0006164/0.9427, allocations: 367.2 kB / 1.271 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9428, allocations: 8.031 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.9428, allocations: 34.75 kB / 1.271 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.9429, allocations: 8.891 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.943, allocations: 176.3 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.9431, allocations: 384 / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.9431, allocations: 4.375 kB / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.9433, allocations: 57.8 kB / 1.271 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9433, allocations: 3.938 kB / 1.271 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.9433, allocations: 0 / 1.271 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.9433, allocations: 4 kB / 1.271 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.9434, allocations: 43.91 kB / 1.272 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.9439, allocations: 268.9 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.944, allocations: 38.56 kB / 1.272 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.9441, allocations: 26.52 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.9441, allocations: 0 / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.9441, allocations: 38.5 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.9441, allocations: 0 / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003612/0.9445, allocations: 97.58 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.9445, allocations: 51.41 kB / 1.272 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.9447, allocations: 122.1 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.9447, allocations: 25.7 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.9448, allocations: 88.14 kB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.9448, allocations: 11.94 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.9448, allocations: 17.72 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.945, allocations: 318.8 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.9451, allocations: 15.92 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.9451, allocations: 19.98 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.9452, allocations: 48.77 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9452, allocations: 0 / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001873/0.9454, allocations: 73.61 kB / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9454, allocations: 8 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9455, allocations: 0 / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.9455, allocations: 0 / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.9456, allocations: 15.98 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.9456, allocations: 0 / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.9456, allocations: 7.938 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.9456, allocations: 4 kB / 1.273 GB, free: 0.7891 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 0.0001014/0.9458, allocations: 114.3 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.9458, allocations: 11.94 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.9458, allocations: 11.84 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9458, allocations: 3.938 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9458, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9458, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.946, allocations: 173.6 kB / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.946, allocations: 0 / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.9461, allocations: 19.98 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9461, allocations: 0 / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.9461, allocations: 0 / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9461, allocations: 0 / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9461, allocations: 3.984 kB / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.9464, allocations: 171.4 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.9465, allocations: 81.11 kB / 1.273 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.9465, allocations: 4 kB / 1.273 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.9466, allocations: 3.984 kB / 1.273 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.9466, allocations: 4 kB / 1.273 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.9466, allocations: 4 kB / 1.273 GB, free: 92 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.573e-05/0.9467, allocations: 99.25 kB / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9467, allocations: 4 kB / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002201/0.9469, allocations: 4 kB / 1.273 GB, free: 15.98 MB / 0.9825 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.0006501/0.9476, allocations: 0.7088 MB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.9477, allocations: 36 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9478, allocations: 3.938 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.9478, allocations: 28.06 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.9481, allocations: 8 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.9486, allocations: 201.6 kB / 1.274 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.949, allocations: 0.6846 MB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.949, allocations: 0 / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.949, allocations: 15.44 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.949, allocations: 7.938 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.9723, allocations: 1.521 MB / 1.277 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/9.042, allocations: 25.95 kB / 1.277 GB, free: 12.81 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.288494269829243]