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.0009937/0.0009937, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009344/0.0009344, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9399/0.9399, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.126/2.126, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.691e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002022/0.002039, allocations: 1.642 MB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003121, allocations: 0.9232 MB / 0.8819 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.003196, allocations: 4 kB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.003419, allocations: 52.41 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.003866, allocations: 156.7 kB / 0.8821 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-05/0.003906, allocations: 4 kB / 0.8821 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.004266, allocations: 379.1 kB / 0.8824 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.155e-05/0.004328, allocations: 12.94 kB / 0.8824 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.00467, allocations: 212.5 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.004851, allocations: 116.4 kB / 0.8828 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.004879, allocations: 16 kB / 0.8828 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.00551, allocations: 0.5521 MB / 0.8833 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.005589, allocations: 53.3 kB / 0.8834 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.005678, allocations: 83.78 kB / 0.8834 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008993/0.006578, allocations: 0.8696 MB / 0.8843 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.00658, allocations: 0 / 0.8843 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006581, allocations: 7.062 kB / 0.8843 GB, free: 1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.006589, allocations: 0 / 0.8843 GB, free: 1 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.001166/0.007754, allocations: 0.6858 MB / 0.885 GB, free: 284 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.007793, allocations: 9.438 kB / 0.885 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.007849, allocations: 32.75 kB / 0.885 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.008137, allocations: 272.1 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.008149, allocations: 5.969 kB / 0.8853 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.008162, allocations: 4.375 kB / 0.8853 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.008264, allocations: 80.97 kB / 0.8854 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.008271, allocations: 4.125 kB / 0.8854 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.008279, allocations: 384 / 0.8854 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.008286, allocations: 8.969 kB / 0.8854 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.008313, allocations: 12.42 kB / 0.8854 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.008527, allocations: 220.3 kB / 0.8856 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.008613, allocations: 112.3 kB / 0.8857 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.008651, allocations: 34.81 kB / 0.8857 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.008666, allocations: 4 kB / 0.8857 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.00869, allocations: 45.31 kB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.008691, allocations: 0 / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001883/0.00888, allocations: 89.38 kB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.008933, allocations: 133 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.009245, allocations: 490.4 kB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.00926, allocations: 29.7 kB / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.009382, allocations: 239 kB / 0.8867 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.009407, allocations: 23.83 kB / 0.8867 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.009471, allocations: 63.33 kB / 0.8868 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.009624, allocations: 0.5352 MB / 0.8873 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.009658, allocations: 15.98 kB / 0.8873 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.009793, allocations: 208.2 kB / 0.8875 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.00994, allocations: 94.66 kB / 0.8876 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009942, allocations: 0 / 0.8876 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002174/0.01016, allocations: 137.3 kB / 0.8878 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01018, allocations: 12 kB / 0.8878 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.01018, allocations: 4 kB / 0.8878 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.01019, allocations: 0 / 0.8878 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.01028, allocations: 15.98 kB / 0.8878 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01029, allocations: 4 kB / 0.8878 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.01038, allocations: 23.78 kB / 0.8878 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01039, allocations: 4 kB / 0.8878 GB, free: 13.03 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 9.664e-05/0.01049, allocations: 168.5 kB / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.01052, allocations: 27.81 kB / 0.888 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.01069, allocations: 124 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01069, allocations: 4 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.0107, allocations: 0 / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.0107, allocations: 3.938 kB / 0.8881 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.01086, allocations: 201 kB / 0.8883 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01086, allocations: 0 / 0.8883 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.01091, allocations: 15.94 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01091, allocations: 0 / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01092, allocations: 4 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01092, allocations: 8.109 kB / 0.8883 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01092, allocations: 4 kB / 0.8883 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.01105, allocations: 155.2 kB / 0.8885 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.01112, allocations: 43.75 kB / 0.8885 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.01115, allocations: 7.984 kB / 0.8885 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.0112, allocations: 0 / 0.8885 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.01122, allocations: 8 kB / 0.8886 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.01123, allocations: 7.984 kB / 0.8886 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001841/0.01141, allocations: 294.9 kB / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01141, allocations: 0 / 0.8888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003389/0.01175, allocations: 107.8 kB / 0.8889 GB, free: 11.79 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.002763/0.01452, allocations: 2.811 MB / 0.8917 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.01488, allocations: 79.5 kB / 0.8918 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01488, allocations: 4 kB / 0.8918 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.854e-05/0.01491, allocations: 31.61 kB / 0.8918 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01516, allocations: 54.47 kB / 0.8919 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.01596, allocations: 0.5177 MB / 0.8924 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.972e-05/0.01603, allocations: 111.9 kB / 0.8925 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.0161, allocations: 26 kB / 0.8925 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.01624, allocations: 122.2 kB / 0.8926 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.01624, allocations: 0 / 0.8926 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of Templates: time 0.009286/0.02552, allocations: 8.231 MB / 0.9006 GB, free: 15.8 MB / 0.8698 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.67349486798048]