Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008193/0.0008193, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000789/0.000789, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8645/0.8645, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.746/1.746, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: 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_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.113e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001773/0.001794, allocations: 1.533 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.002386, allocations: 463.7 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.002438, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.002465, allocations: 3.938 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.002514, allocations: 23.78 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.002726, allocations: 27.91 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.002827, allocations: 59.72 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.002917, allocations: 11.98 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.003046, allocations: 31.97 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.003103, allocations: 19.92 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.003117, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.003159, allocations: 15.97 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003171, allocations: 7.938 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.003194, allocations: 15.98 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003301, allocations: 63.67 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.003304, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003304, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.003308, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 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.0003426/0.003651, allocations: 278.2 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.003686, allocations: 16.75 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.003811, allocations: 28.86 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.00396, allocations: 125.6 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.003969, allocations: 4.375 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.003978, allocations: 8.375 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.004092, allocations: 50.23 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.0041, allocations: 192 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.00411, allocations: 4.375 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.004115, allocations: 3.938 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.004189, allocations: 43.91 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.004438, allocations: 208.6 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.004519, allocations: 46.55 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.00456, allocations: 20.94 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.004573, allocations: 0 / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.004593, allocations: 42.44 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.004594, allocations: 4 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001853/0.00478, allocations: 81.61 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.004811, allocations: 55.41 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.004885, allocations: 129.8 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.005164, allocations: 29.64 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.005201, allocations: 88.14 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.005221, allocations: 19.8 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.005247, allocations: 17.72 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.005321, allocations: 314.8 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.005358, allocations: 19.98 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.005388, allocations: 15.98 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.797e-05/0.005456, allocations: 45.05 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005458, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.222e-05/0.00555, allocations: 85.53 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.005561, allocations: 4 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005566, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.005578, allocations: 8 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.005638, allocations: 7.984 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.005642, allocations: 0 / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.005665, allocations: 4 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.005671, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 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 5.102e-05/0.005722, allocations: 113.8 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.005736, allocations: 11.89 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.005755, allocations: 11.92 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005756, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.00576, allocations: 8 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005763, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.005852, allocations: 113.3 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005852, allocations: 0 / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.005879, allocations: 11.98 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.00588, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.005886, allocations: 3.938 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005887, allocations: 4 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005888, allocations: 0 / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.006008, allocations: 171.5 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.006015, allocations: 11.95 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.006026, allocations: 3.938 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.006062, allocations: 7.984 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.006093, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.006096, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.006133, allocations: 106.5 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.006133, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001365/0.006269, allocations: 12 kB / 1.005 GB, free: 8.109 MB / 0.9636 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 6.441e-05/0.006334, allocations: 103.2 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.006441, allocations: 35.97 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006442, allocations: 0 / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.006475, allocations: 19.98 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.006619, allocations: 9.5 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.006889, allocations: 186.3 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.006934, allocations: 79.23 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.006962, allocations: 12.5 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.006962, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of Templates: time 0.001387/0.008349, allocations: 0.7782 MB / 1.007 GB, free: 6.836 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.354093784466386]