Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001497/0.001497, allocations: 111.3 kB / 17.08 MB, free: 6.012 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.001592/0.001592, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.028 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3401, allocations: 151.6 MB / 1.176 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002907/0.3431, allocations: 1.498 MB / 1.177 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.3439, allocations: 423 kB / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.3439, allocations: 0 / 1.178 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.344, allocations: 3.938 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.3441, allocations: 23.8 kB / 1.178 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.3442, allocations: 11.98 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.3443, allocations: 55.72 kB / 1.178 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3445, allocations: 15.98 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.3446, allocations: 19.92 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.3447, allocations: 19.92 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3447, allocations: 4 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.3447, allocations: 8 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.3447, allocations: 11.92 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.3448, allocations: 11.94 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3449, allocations: 51.73 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3449, allocations: 0 / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3449, allocations: 0 / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3449, allocations: 0 / 1.178 GB, free: 3.871 MB / 0.92 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.000591/0.3455, allocations: 371.2 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3456, allocations: 12.03 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3456, allocations: 4.938 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3458, allocations: 176.3 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3458, allocations: 384 / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3458, allocations: 384 / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.346, allocations: 61.98 kB / 1.179 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.346, allocations: 0 / 1.179 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.346, allocations: 0 / 1.179 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3461, allocations: 0 / 1.179 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3462, allocations: 43.95 kB / 1.179 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.3466, allocations: 280.7 kB / 1.179 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3468, allocations: 38.56 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.3469, allocations: 24.94 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3469, allocations: 3.984 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3469, allocations: 34.56 kB / 1.179 GB, free: 2.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3469, allocations: 0 / 1.179 GB, free: 2.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003306/0.3473, allocations: 93.58 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3473, allocations: 51.41 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3474, allocations: 117.8 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3475, allocations: 25.7 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.3475, allocations: 96.03 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3476, allocations: 15.94 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3476, allocations: 9.719 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3478, allocations: 326.8 kB / 1.18 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.3478, allocations: 8 kB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.3479, allocations: 19.98 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3481, allocations: 48.77 kB / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3481, allocations: 0 / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001756/0.3483, allocations: 81.55 kB / 1.18 GB, free: 1.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3483, allocations: 8 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3483, allocations: 0 / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3483, allocations: 0 / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3484, allocations: 7.984 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3484, allocations: 4 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.3485, allocations: 4 kB / 1.18 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3485, allocations: 4 kB / 1.18 GB, free: 1.715 MB / 0.92 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.838e-05/0.3486, allocations: 113.8 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3486, allocations: 11.94 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3487, allocations: 7.906 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3487, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3487, allocations: 4 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3487, allocations: 0 / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.3489, allocations: 169.6 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3489, allocations: 7.938 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.349, allocations: 11.98 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.349, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.349, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.349, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.349, allocations: 3.938 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.3492, allocations: 167.8 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.3493, allocations: 85.06 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3493, allocations: 0 / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.3494, allocations: 8.031 kB / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.3495, allocations: 11.98 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3495, allocations: 0 / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.3495, allocations: 95.64 kB / 1.18 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3496, allocations: 0 / 1.18 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002102/0.3498, allocations: 8 kB / 1.18 GB, free: 0.9219 MB / 0.92 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.0001345/0.3499, allocations: 107.2 kB / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3501, allocations: 39.91 kB / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3501, allocations: 0 / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.3502, allocations: 23.98 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.3504, allocations: 6.172 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.3508, allocations: 197.8 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.3512, allocations: 0.6807 MB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.3512, allocations: 11.42 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3512, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.002429/0.3537, allocations: 0.7159 MB / 1.182 GB, free: 15.09 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.346504348912276]