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.001718/0.001718, allocations: 114 kB / 17.6 MB, free: 4.699 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.001935/0.001935, allocations: 186.7 kB / 20.78 MB, free: 1.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.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.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.849/2.849, allocations: 476.7 MB / 0.7629 GB, free: 15.21 MB / 0.6075 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.002265/0.002265, allocations: 64.12 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00274/1.138, allocations: 1.529 MB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007302/1.138, allocations: 421 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/1.138, allocations: 0.7188 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/1.138, allocations: 4.547 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/1.138, allocations: 14.38 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/1.139, allocations: 16.64 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/1.139, allocations: 54.64 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/1.139, allocations: 12.97 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/1.139, allocations: 25.19 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/1.139, allocations: 20.83 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/1.139, allocations: 3.688 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/1.139, allocations: 6.969 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/1.139, allocations: 11.33 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/1.139, allocations: 20.14 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/1.139, allocations: 45.31 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.139, allocations: 4.812 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.139, allocations: 0 / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.139, allocations: 5.609 kB / 1.274 GB, free: 6.258 MB / 0.9981 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.0004733/1.14, allocations: 361.1 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.14, allocations: 9.438 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/1.14, allocations: 32.83 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/1.14, allocations: 7.828 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/1.14, allocations: 181.3 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/1.14, allocations: 5.125 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/1.14, allocations: 2.75 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/1.14, allocations: 63.67 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.14, allocations: 0 / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/1.14, allocations: 0.75 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.14, allocations: 1.234 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/1.14, allocations: 36.34 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/1.141, allocations: 270 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/1.141, allocations: 40.27 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/1.141, allocations: 27.81 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/1.141, allocations: 0 / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/1.141, allocations: 31.47 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/1.141, allocations: 0.8438 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000322/1.141, allocations: 93.98 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/1.141, allocations: 52.38 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/1.141, allocations: 117.7 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/1.141, allocations: 25.7 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/1.141, allocations: 90.81 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/1.141, allocations: 8.984 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/1.141, allocations: 14.09 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/1.141, allocations: 325.6 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/1.142, allocations: 17.58 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/1.142, allocations: 18.7 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/1.142, allocations: 39.31 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.142, allocations: 0.6562 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001735/1.142, allocations: 74.5 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.142, allocations: 8.875 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.142, allocations: 0 / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.142, allocations: 0.625 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/1.142, allocations: 9.922 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.142, allocations: 1.125 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/1.142, allocations: 15.97 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.142, allocations: 1 kB / 1.276 GB, free: 4.441 MB / 0.9981 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/1.142, allocations: 117.4 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/1.142, allocations: 19.62 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/1.142, allocations: 11.73 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.142, allocations: 0 / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.142, allocations: 4.984 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.142, allocations: 0 / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/1.142, allocations: 175.7 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.142, allocations: 1.172 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/1.142, allocations: 9.281 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.142, allocations: 0.9062 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.142, allocations: 2.391 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.142, allocations: 5 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.142, allocations: 0 / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/1.143, allocations: 171.5 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/1.143, allocations: 81.83 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.143, allocations: 0.875 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/1.143, allocations: 3.891 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/1.143, allocations: 11.38 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/1.143, allocations: 0.875 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.983e-05/1.143, allocations: 92.81 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.143, allocations: 0 / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002208/1.143, allocations: 7.344 kB / 1.276 GB, free: 3.75 MB / 0.9981 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.0003916/1.143, allocations: 0.7054 MB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001869/1.144, allocations: 39.5 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.144, allocations: 5.375 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/1.144, allocations: 15.08 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/1.144, allocations: 6.484 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/1.144, allocations: 215.9 kB / 1.277 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/1.145, allocations: 0.6814 MB / 1.278 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.307e-05/1.145, allocations: 1.688 kB / 1.278 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/1.145, allocations: 20.48 kB / 1.278 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/1.145, allocations: 0 / 1.278 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/1.169, allocations: 1.491 MB / 1.279 GB, free: 17.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/9.24, allocations: 9.703 kB / 1.279 GB, free: 17.77 MB / 1.014 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 --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.505701401008992]