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.001945/0.001945, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002043/0.002043, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.504/1.504, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.862/2.862, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7386, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00278/0.7413, allocations: 1.524 MB / 1.276 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007081/0.7421, allocations: 427 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.7421, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.7421, allocations: 3.938 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.7422, allocations: 11.86 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.7423, allocations: 15.92 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.235e-05/0.7424, allocations: 55.78 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.7425, allocations: 11.98 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.7426, allocations: 23.86 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.7427, allocations: 19.92 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.7427, allocations: 4 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.7427, allocations: 4 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.7427, allocations: 11.92 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.7428, allocations: 19.94 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.7429, allocations: 54.41 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7429, allocations: 0 / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7429, allocations: 4 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7429, allocations: 0 / 1.276 GB, free: 2.41 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.0005353/0.7434, allocations: 359.2 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.7435, allocations: 8.031 kB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.7435, allocations: 8.891 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7436, allocations: 172.3 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.7437, allocations: 4.375 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.7437, allocations: 4.375 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.7438, allocations: 61.92 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7438, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.7439, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7439, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.744, allocations: 39.91 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.7444, allocations: 276.8 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.7445, allocations: 42.5 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.7446, allocations: 26.52 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.7446, allocations: 0 / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7446, allocations: 34.56 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.7446, allocations: 0 / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003291/0.745, allocations: 97.58 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.745, allocations: 51.41 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.7451, allocations: 121.8 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.7451, allocations: 25.7 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.7452, allocations: 92.11 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.7452, allocations: 15.89 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.7453, allocations: 9.719 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7454, allocations: 334.7 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.7455, allocations: 19.98 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.7455, allocations: 15.98 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.7457, allocations: 36.84 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7457, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001834/0.7459, allocations: 73.61 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7459, allocations: 12 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7459, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7459, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.746, allocations: 7.984 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.746, allocations: 7.938 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.7461, allocations: 0 / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.7461, allocations: 4 kB / 1.278 GB, free: 272 kB / 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 9.426e-05/0.7462, allocations: 117.8 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.7462, allocations: 7.953 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.7462, allocations: 11.91 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7462, allocations: 0 / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7462, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7462, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.7464, allocations: 173.5 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7464, allocations: 3.984 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.7465, allocations: 8 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7465, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7465, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7465, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7465, allocations: 7.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.7468, allocations: 171.4 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.7468, allocations: 77.11 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.7468, allocations: 3.984 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.7469, allocations: 8 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.7469, allocations: 4 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.7469, allocations: 7.984 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.747, allocations: 87.28 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.747, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002279/0.7472, allocations: 11.94 kB / 1.279 GB, free: 15.48 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.0001183/0.7473, allocations: 99.77 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.7475, allocations: 39.97 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7475, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.7476, allocations: 28.39 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.7478, allocations: 13.28 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.7482, allocations: 164.2 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.7485, allocations: 0.6807 MB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.7486, allocations: 16.06 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.7486, allocations: 7.438 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.7486, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of Templates: time 0.002719/0.7513, allocations: 483.2 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] 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: 8.547550103161484]