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.001069/0.001069, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009786/0.0009786, allocations: 173 kB / 23.02 MB, free: 1.547 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.9234/0.9234, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 2.002/2.002, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.312e-06/1.312e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.551e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001817/0.001833, allocations: 1.582 MB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.00255, allocations: 490.1 kB / 0.8802 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.002608, allocations: 3.938 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.002641, allocations: 4.531 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.002698, allocations: 12.56 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.002929, allocations: 36.84 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003049, allocations: 55.73 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.003135, allocations: 11.98 kB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.003267, allocations: 48.58 kB / 0.8804 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.003327, allocations: 17.14 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003344, allocations: 4 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.317e-05/0.003387, allocations: 4 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.003402, allocations: 12.8 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.003426, allocations: 12 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003533, allocations: 39.83 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003535, allocations: 1.094 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003535, allocations: 0 / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.003539, allocations: 0 / 0.8804 GB, free: 4.004 MB / 0.8386 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.0004027/0.003942, allocations: 401.2 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.003977, allocations: 8.875 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.004134, allocations: 24.88 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.00428, allocations: 128.2 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004292, allocations: 4.375 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.004302, allocations: 4.359 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.004423, allocations: 66.88 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.00443, allocations: 192 / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.00444, allocations: 384 / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.004449, allocations: 3.938 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/0.004481, allocations: 4 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.004765, allocations: 264.5 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.00484, allocations: 39.59 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.004865, allocations: 11.69 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.004879, allocations: 5.609 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.004902, allocations: 45.27 kB / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004903, allocations: 0 / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001637/0.005067, allocations: 49.64 kB / 0.8815 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001594/0.006661, allocations: 55.41 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.006769, allocations: 184.7 kB / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.006782, allocations: 29.64 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.006834, allocations: 138.8 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.006855, allocations: 11.91 kB / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.006892, allocations: 23.36 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.007006, allocations: 0.4884 MB / 0.8824 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.007025, allocations: 0 / 0.8824 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.007044, allocations: 7.984 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.007084, allocations: 15.69 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007086, allocations: 4 kB / 0.8824 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.384e-05/0.00717, allocations: 49.58 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.007186, allocations: 8 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.00719, allocations: 0 / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.007203, allocations: 0 / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.007283, allocations: 11.92 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007287, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.007316, allocations: 8 kB / 0.8825 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.007322, allocations: 0 / 0.8825 GB, free: 1.742 MB / 0.8386 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 6.517e-05/0.007387, allocations: 156.6 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.007411, allocations: 11.94 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.007437, allocations: 15.98 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007438, allocations: 0 / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.007442, allocations: 0 / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007444, allocations: 336 / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.007564, allocations: 124.6 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.007565, allocations: 4 kB / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.007595, allocations: 7.984 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007597, allocations: 0 / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.007606, allocations: 7.938 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007607, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.00761, allocations: 11.98 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007726, allocations: 191.9 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.007737, allocations: 15.89 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007749, allocations: 3.938 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.007801, allocations: 3.984 kB / 0.883 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.007836, allocations: 4 kB / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.00784, allocations: 0 / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.007891, allocations: 135.2 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007891, allocations: 0 / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002166/0.008107, allocations: 8 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 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 7.195e-05/0.008179, allocations: 103.2 kB / 0.8832 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.714e-05/0.008266, allocations: 19.69 kB / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008267, allocations: 0 / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.008294, allocations: 23.61 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.008505, allocations: 5.875 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.009067, allocations: 182 kB / 0.8834 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.009107, allocations: 55.36 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.009131, allocations: 4 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.009161, allocations: 12.48 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/0.009162, allocations: 0 / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of Templates: time 0.006503/0.01566, allocations: 0.4895 MB / 0.884 GB, free: 52 kB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.257711550220847]