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.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.001421/0.001421, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001771/0.001771, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7707 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002027/0.002027, allocations: 66.53 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3881, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003258/0.3914, allocations: 1.555 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.3923, allocations: 492.6 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.3924, allocations: 3.938 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3925, allocations: 3.938 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.3925, allocations: 19.86 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3928, allocations: 27.95 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.393, allocations: 63.72 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3931, allocations: 4 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3932, allocations: 31.86 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.438e-05/0.3933, allocations: 27.89 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3933, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-05/0.3934, allocations: 4 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3934, allocations: 7.938 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.3934, allocations: 27.86 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3936, allocations: 59.27 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3936, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3936, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.3936, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 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.0006262/0.3942, allocations: 290.1 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3943, allocations: 12.03 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.3943, allocations: 30.75 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.3946, allocations: 28.91 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3948, allocations: 134.3 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3948, allocations: 384 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3948, allocations: 384 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.395, allocations: 65.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3951, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3951, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3951, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3952, allocations: 35.97 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.3956, allocations: 247.9 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3958, allocations: 38.56 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.3959, allocations: 24.92 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3959, allocations: 4 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3959, allocations: 34.56 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3959, allocations: 3.938 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003319/0.3962, allocations: 93.55 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3963, allocations: 55.34 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3964, allocations: 127.7 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3964, allocations: 25.7 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.3965, allocations: 96.12 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.3965, allocations: 19.83 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3966, allocations: 13.72 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3967, allocations: 322.8 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.3968, allocations: 19.98 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.3968, allocations: 11.98 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.397, allocations: 40.84 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.397, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001774/0.3971, allocations: 77.59 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3972, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3972, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3972, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3973, allocations: 11.98 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3973, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.3973, allocations: 8 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3974, allocations: 0 / 1.287 GB, free: 7.395 MB / 0.9825 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.0001128/0.3975, allocations: 121.8 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.3975, allocations: 7.953 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3975, allocations: 8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3975, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3975, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3975, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3977, allocations: 148.7 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3977, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.3978, allocations: 12 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3978, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3978, allocations: 3.984 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3978, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3978, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3981, allocations: 175.4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3981, allocations: 19.94 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3981, allocations: 0 / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.3982, allocations: 4 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3982, allocations: 8.297 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3982, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8e-05/0.3983, allocations: 97.02 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3983, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002183/0.3985, allocations: 15.94 kB / 1.288 GB, free: 6.715 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.0005529/0.3991, allocations: 0.7084 MB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3993, allocations: 35.97 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3993, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.3993, allocations: 23.98 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3996, allocations: 7.938 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4011, allocations: 1.379 MB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4015, allocations: 0.6883 MB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.97e-05/0.4015, allocations: 4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.4016, allocations: 19.44 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.4016, allocations: 0 / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.4351, allocations: 1.666 MB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 0.75 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.37538008391857]