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.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.00142/0.00142, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001643/0.001643, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.508/1.508, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 496.2 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002002/0.002002, allocations: 71.89 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.153, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002748/1.156, allocations: 1.524 MB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006952/1.156, allocations: 428.4 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/1.157, allocations: 0 / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/1.157, allocations: 7.266 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/1.157, allocations: 7.875 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/1.157, allocations: 17.53 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/1.157, allocations: 56.61 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.157, allocations: 9.922 kB / 1.307 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/1.157, allocations: 26.3 kB / 1.307 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/1.157, allocations: 23.33 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/1.157, allocations: 6.578 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/1.157, allocations: 3.062 kB / 1.307 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/1.157, allocations: 7.938 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/1.157, allocations: 24.23 kB / 1.308 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/1.157, allocations: 45.73 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.157, allocations: 0 / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/1.157, allocations: 3.938 kB / 1.308 GB, free: 31.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.151e-06/1.157, allocations: 3.312 kB / 1.308 GB, free: 31.92 MB / 1.061 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.0004634/1.158, allocations: 365.7 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.158, allocations: 9.188 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/1.158, allocations: 3.844 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/1.158, allocations: 179 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.158, allocations: 4.375 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/1.158, allocations: 3.25 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/1.158, allocations: 58.23 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.158, allocations: 0 / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.158, allocations: 7.984 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.158, allocations: 0 / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/1.158, allocations: 42.41 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/1.159, allocations: 269.9 kB / 1.308 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/1.159, allocations: 38.61 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/1.159, allocations: 28.27 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/1.159, allocations: 0 / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/1.159, allocations: 33.53 kB / 1.309 GB, free: 30.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.159, allocations: 0 / 1.309 GB, free: 30.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003215/1.159, allocations: 93.33 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/1.159, allocations: 51.41 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/1.159, allocations: 121.3 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/1.159, allocations: 28.94 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/1.159, allocations: 86.83 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/1.159, allocations: 7.953 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/1.16, allocations: 15.95 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/1.16, allocations: 321.4 kB / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/1.16, allocations: 11.91 kB / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/1.16, allocations: 26.36 kB / 1.309 GB, free: 30.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/1.16, allocations: 43.94 kB / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.16, allocations: 0 / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000146/1.16, allocations: 77.02 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.16, allocations: 3.094 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.16, allocations: 2.969 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.16, allocations: 0 / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.16, allocations: 12.92 kB / 1.309 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.16, allocations: 0 / 1.309 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/1.16, allocations: 6.156 kB / 1.309 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/1.16, allocations: 2.875 kB / 1.309 GB, free: 30.14 MB / 1.061 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.402e-05/1.16, allocations: 113.8 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/1.16, allocations: 8.703 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/1.16, allocations: 10.67 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.16, allocations: 0 / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.16, allocations: 6.938 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/1.16, allocations: 0 / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/1.16, allocations: 180 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.16, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/1.161, allocations: 17.12 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.161, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.161, allocations: 2.969 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.161, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.161, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.161, allocations: 172.1 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/1.161, allocations: 84.34 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/1.161, allocations: 2.812 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/1.161, allocations: 6.875 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/1.161, allocations: 3.422 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/1.161, allocations: 2.875 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.542e-05/1.161, allocations: 90.92 kB / 1.31 GB, free: 29.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.161, allocations: 4 kB / 1.31 GB, free: 29.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002161/1.161, allocations: 8.625 kB / 1.31 GB, free: 29.45 MB / 1.061 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.0001011/1.161, allocations: 100.6 kB / 1.31 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001823/1.161, allocations: 39.86 kB / 1.31 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.161, allocations: 0 / 1.31 GB, free: 29.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/1.161, allocations: 18.45 kB / 1.31 GB, free: 29.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/1.162, allocations: 10.94 kB / 1.31 GB, free: 29.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/1.162, allocations: 185.2 kB / 1.31 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/1.162, allocations: 0.6815 MB / 1.311 GB, free: 28.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.951e-05/1.162, allocations: 2.906 kB / 1.311 GB, free: 28.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/1.162, allocations: 7.438 kB / 1.311 GB, free: 28.5 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.162, allocations: 6.875 kB / 1.311 GB, free: 28.49 MB / 1.061 GB Notification: Performance of Templates: time 0.002959/1.165, allocations: 484.7 kB / 1.312 GB, free: 28.41 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] 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: 10.024259532801807]