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.00168/0.00168, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.002255/0.002255, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.89/2.89, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="cs",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.002288/0.002288, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.023, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002905/1.025, allocations: 1.54 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/1.026, allocations: 0.4924 MB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/1.026, allocations: 5.062 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/1.026, allocations: 9.188 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/1.027, allocations: 14.72 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/1.027, allocations: 32.02 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/1.027, allocations: 56.11 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/1.027, allocations: 10.09 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/1.027, allocations: 32.47 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/1.027, allocations: 29.59 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/1.027, allocations: 3.594 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.562e-05/1.027, allocations: 5.828 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/1.027, allocations: 7.328 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/1.027, allocations: 24.08 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/1.027, allocations: 53.19 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.027, allocations: 1.344 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.027, allocations: 4 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.939e-06/1.027, allocations: 0 / 1.281 GB, free: 10.18 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.0005781/1.028, allocations: 372.8 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.028, allocations: 9.031 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.128e-05/1.028, allocations: 1.25 kB / 1.282 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/1.028, allocations: 36.45 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/1.028, allocations: 21.3 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/1.029, allocations: 193.9 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.029, allocations: 1.125 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/1.029, allocations: 6.531 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.029, allocations: 54.84 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.029, allocations: 1.031 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/1.029, allocations: 0 / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.029, allocations: 1.656 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/1.029, allocations: 39.41 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/1.029, allocations: 278.9 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/1.03, allocations: 36.56 kB / 1.282 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/1.03, allocations: 23 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/1.03, allocations: 1.125 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.03, allocations: 39.64 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/1.03, allocations: 0.5 kB / 1.282 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003787/1.03, allocations: 93.2 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.03, allocations: 53.31 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/1.03, allocations: 121.9 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/1.03, allocations: 26.27 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/1.03, allocations: 96.66 kB / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/1.03, allocations: 9.953 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/1.03, allocations: 17.69 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.031, allocations: 319.1 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/1.031, allocations: 17.08 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/1.031, allocations: 18.03 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/1.031, allocations: 45.12 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.031, allocations: 0 / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/1.031, allocations: 73.8 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.031, allocations: 8.531 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.031, allocations: 0.5312 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.031, allocations: 0.5781 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.031, allocations: 17.55 kB / 1.283 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.031, allocations: 4.531 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/1.031, allocations: 8.953 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/1.031, allocations: 1.719 kB / 1.283 GB, free: 8.34 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 9.701e-05/1.031, allocations: 113.7 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/1.032, allocations: 6.328 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/1.032, allocations: 11.41 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.032, allocations: 0.5312 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.032, allocations: 1.281 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.032, allocations: 0.5 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/1.032, allocations: 173.8 kB / 1.283 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.032, allocations: 4 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/1.032, allocations: 9.859 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.032, allocations: 1.094 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.032, allocations: 4.609 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.032, allocations: 1.062 kB / 1.283 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.032, allocations: 4.547 kB / 1.283 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/1.032, allocations: 170 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/1.032, allocations: 87.48 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/1.032, allocations: 0 / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/1.032, allocations: 5.734 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/1.032, allocations: 2.984 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/1.032, allocations: 0.7969 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.008e-05/1.032, allocations: 100.9 kB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.032, allocations: 3.938 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002319/1.033, allocations: 7.875 kB / 1.284 GB, free: 7.66 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.0006182/1.033, allocations: 0.7104 MB / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002307/1.033, allocations: 35.11 kB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.033, allocations: 1.312 kB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/1.034, allocations: 23.86 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/1.034, allocations: 11.81 kB / 1.285 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/1.036, allocations: 1.362 MB / 1.286 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/1.036, allocations: 0.6925 MB / 1.287 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.965e-05/1.036, allocations: 10.08 kB / 1.287 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/1.036, allocations: 15.36 kB / 1.287 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.036, allocations: 0 / 1.287 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/1.055, allocations: 1.623 MB / 1.288 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/9.588, allocations: 6.062 kB / 1.288 GB, free: 4.625 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.106749068014324]