Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.001439/0.001439, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001447/0.001447, allocations: 161 kB / 23.82 MB, free: 0.7539 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.8828/0.8828, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.586e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001884/0.001909, allocations: 1.638 MB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.00319, allocations: 0.9302 MB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.00326, allocations: 0 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.003487, allocations: 61.14 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.003912, allocations: 155.1 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.91e-05/0.003942, allocations: 9.141 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.004234, allocations: 375.5 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.00428, allocations: 12.94 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.004546, allocations: 217.1 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.004689, allocations: 119.7 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.004716, allocations: 12 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.005179, allocations: 0.5438 MB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.005255, allocations: 56.78 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.005335, allocations: 75.8 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.006264, allocations: 0.8865 MB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006267, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006268, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.006274, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009335/0.007207, allocations: 0.7041 MB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.007242, allocations: 8.031 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.007305, allocations: 37.23 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.007585, allocations: 280.3 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.007595, allocations: 4.906 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.007609, allocations: 10.03 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.007714, allocations: 84.91 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.00772, allocations: 192 / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.007729, allocations: 384 / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.007736, allocations: 3.938 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.007768, allocations: 17.3 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.008009, allocations: 283.7 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.008091, allocations: 112.8 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.008133, allocations: 39.84 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.008148, allocations: 7.984 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.008169, allocations: 33.39 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.00817, allocations: 4.906 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.008375, allocations: 104.4 kB / 0.8181 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.008421, allocations: 132.5 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.008765, allocations: 498.6 kB / 0.8187 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.008782, allocations: 29.7 kB / 0.8188 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.008894, allocations: 223.2 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.00892, allocations: 23.83 kB / 0.819 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.008983, allocations: 62 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.009129, allocations: 0.543 MB / 0.8196 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.009175, allocations: 19.98 kB / 0.8196 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.009289, allocations: 214.6 kB / 0.8198 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.00941, allocations: 106.7 kB / 0.8199 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009413, allocations: 0 / 0.8199 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001714/0.009584, allocations: 141.4 kB / 0.82 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009597, allocations: 9.562 kB / 0.8201 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.009604, allocations: 0 / 0.8201 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.009616, allocations: 0 / 0.8201 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.009704, allocations: 15.98 kB / 0.8201 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.009711, allocations: 12.38 kB / 0.8201 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.009795, allocations: 19.88 kB / 0.8201 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.009806, allocations: 5.875 kB / 0.8201 GB, free: 8.598 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0002759/0.01008, allocations: 164.6 kB / 0.8203 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.01011, allocations: 31.77 kB / 0.8203 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.01029, allocations: 133.2 kB / 0.8204 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01029, allocations: 0 / 0.8204 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.0103, allocations: 8.875 kB / 0.8204 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.0103, allocations: 0 / 0.8204 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01048, allocations: 264.5 kB / 0.8207 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01048, allocations: 4.656 kB / 0.8207 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.01053, allocations: 23.67 kB / 0.8207 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01054, allocations: 0 / 0.8207 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.01054, allocations: 0 / 0.8207 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01055, allocations: 4 kB / 0.8207 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01055, allocations: 0 / 0.8207 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.01068, allocations: 167.1 kB / 0.8209 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.01074, allocations: 47.75 kB / 0.8209 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.01077, allocations: 4 kB / 0.8209 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.01084, allocations: 15.92 kB / 0.8209 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.01086, allocations: 11.92 kB / 0.8209 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.01086, allocations: 1.719 kB / 0.8209 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002034/0.01106, allocations: 315 kB / 0.8212 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 0.8212 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003292/0.01139, allocations: 103.9 kB / 0.8213 GB, free: 7.246 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.002766/0.01416, allocations: 2.818 MB / 0.8241 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01434, allocations: 79.58 kB / 0.8242 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01434, allocations: 0 / 0.8242 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.949e-05/0.01437, allocations: 31.62 kB / 0.8242 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01461, allocations: 49.69 kB / 0.8243 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.01543, allocations: 0.5216 MB / 0.8248 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.01549, allocations: 115.9 kB / 0.8249 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.573e-05/0.01556, allocations: 33.98 kB / 0.8249 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.01561, allocations: 24.5 kB / 0.8249 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.01561, allocations: 0 / 0.8249 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of Templates: time 0.009577/0.02518, allocations: 8.234 MB / 0.833 GB, free: 11.35 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.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: 4.984376742038876]