Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001505/0.001505, 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.001225/0.001225, allocations: 169 kB / 23.02 MB, free: 1.551 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.9162/0.9162, allocations: 177.1 MB / 203.4 MB, free: 5.629 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/2, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.[0-9,]+..T",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8781 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.223e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003366/0.003398, allocations: 1.654 MB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.00505, allocations: 0.9263 MB / 0.8807 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.005148, allocations: 0 / 0.8807 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.005461, allocations: 65.14 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.006048, allocations: 151.1 kB / 0.8809 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.702e-05/0.006095, allocations: 1.406 kB / 0.8809 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.006556, allocations: 387.1 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.489e-05/0.006621, allocations: 12.94 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.007042, allocations: 202.9 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.007275, allocations: 131.6 kB / 0.8816 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.007323, allocations: 12 kB / 0.8816 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.007928, allocations: 436.9 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.008018, allocations: 59.7 kB / 0.882 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.008152, allocations: 83.78 kB / 0.8821 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.009611, allocations: 0.8735 MB / 0.883 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.009614, allocations: 3.938 kB / 0.883 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/0.009615, allocations: 4 kB / 0.883 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.009624, allocations: 0 / 0.883 GB, free: 1.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001634/0.01126, allocations: 0.7015 MB / 0.8837 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.0113, allocations: 8.031 kB / 0.8837 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.0114, allocations: 36.73 kB / 0.8837 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.01187, allocations: 295.5 kB / 0.884 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01188, allocations: 4.375 kB / 0.884 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.01191, allocations: 4.375 kB / 0.884 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.01206, allocations: 84.91 kB / 0.8841 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01207, allocations: 192 / 0.8841 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.01209, allocations: 4.375 kB / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.01209, allocations: 3.938 kB / 0.8841 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.01214, allocations: 7.938 kB / 0.8841 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.01255, allocations: 299.7 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.01267, allocations: 112.4 kB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.01272, allocations: 34.81 kB / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.01274, allocations: 0 / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.01278, allocations: 49.31 kB / 0.8846 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.01278, allocations: 0 / 0.8846 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.01307, allocations: 97.34 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.01314, allocations: 137 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.01372, allocations: 0.4987 MB / 0.8853 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01374, allocations: 25.7 kB / 0.8853 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.01391, allocations: 231.1 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.01395, allocations: 19.83 kB / 0.8855 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.01404, allocations: 59.36 kB / 0.8856 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.01424, allocations: 0.5391 MB / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.01432, allocations: 19.98 kB / 0.8861 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01448, allocations: 205.2 kB / 0.8863 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.01467, allocations: 106.7 kB / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01468, allocations: 0 / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002959/0.01497, allocations: 153.3 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01499, allocations: 12 kB / 0.8866 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.015, allocations: 0 / 0.8866 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01502, allocations: 0 / 0.8866 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01515, allocations: 19.98 kB / 0.8866 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.01516, allocations: 3.938 kB / 0.8866 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.01532, allocations: 27.83 kB / 0.8867 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.01534, allocations: 4 kB / 0.8867 GB, free: 13.27 MB / 0.8542 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.0001196/0.01546, allocations: 168.5 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.01551, allocations: 31.81 kB / 0.8868 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.01579, allocations: 119.8 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.0158, allocations: 0 / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.0158, allocations: 7.938 kB / 0.887 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01581, allocations: 0 / 0.887 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.01611, allocations: 272.4 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01611, allocations: 3.984 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.0162, allocations: 15.94 kB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01621, allocations: 0 / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01622, allocations: 8 kB / 0.8873 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01622, allocations: 4.125 kB / 0.8873 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01623, allocations: 0 / 0.8873 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.01645, allocations: 159.2 kB / 0.8874 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.01658, allocations: 55.73 kB / 0.8875 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.01662, allocations: 4 kB / 0.8875 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.01676, allocations: 11.98 kB / 0.8875 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.01679, allocations: 11.92 kB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.0168, allocations: 4 kB / 0.8875 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003755/0.01717, allocations: 315.1 kB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-07/0.01718, allocations: 0 / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005992/0.01777, allocations: 111.9 kB / 0.8879 GB, free: 11.91 MB / 0.8542 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.005027/0.0228, allocations: 2.808 MB / 0.8906 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.02309, allocations: 79.52 kB / 0.8907 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02309, allocations: 4 kB / 0.8907 GB, free: 9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.02314, allocations: 31.61 kB / 0.8908 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.02359, allocations: 67.33 kB / 0.8908 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.02492, allocations: 0.5177 MB / 0.8913 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.02501, allocations: 116.3 kB / 0.8914 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.02515, allocations: 46.27 kB / 0.8915 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.02522, allocations: 24.5 kB / 0.8915 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.02523, allocations: 0 / 0.8915 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of Templates: time 0.01056/0.03578, allocations: 7.953 MB / 0.8993 GB, free: 276 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.571520577184856]