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.001722/0.001722, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002104/0.002104, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.473/1.473, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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 3.081/3.081, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..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.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 1 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.524e-05, allocations: 9.875 kB / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003249/0.003284, allocations: 1.58 MB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005072, allocations: 0.8567 MB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.005189, allocations: 4 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.005489, allocations: 59.61 kB / 1.003 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005706/0.00606, allocations: 147.2 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.896e-05/0.006109, allocations: 7.922 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.006643, allocations: 382.1 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.006717, allocations: 12.94 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.007223, allocations: 207.4 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.007524, allocations: 127.7 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.007578, allocations: 12 kB / 1.003 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.008321, allocations: 480.8 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.008427, allocations: 63.64 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.008593, allocations: 79.78 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.01051, allocations: 0.9124 MB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.01052, allocations: 0 / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01052, allocations: 0 / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.01053, allocations: 3.938 kB / 1.005 GB, free: 2.41 MB / 0.9512 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.001774/0.0123, allocations: 0.5743 MB / 1.005 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01235, allocations: 8.031 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.01245, allocations: 44.69 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.01304, allocations: 316 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01305, allocations: 8.375 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.01308, allocations: 4.375 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.01327, allocations: 101.6 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01328, allocations: 192 / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.01329, allocations: 4.359 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.0133, allocations: 11.88 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01344, allocations: 63.88 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.01386, allocations: 263.9 kB / 1.006 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.01402, allocations: 98.41 kB / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.01412, allocations: 63.45 kB / 1.006 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.01414, allocations: 0 / 1.006 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01418, allocations: 38.5 kB / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.01418, allocations: 0 / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004037/0.01459, allocations: 189.7 kB / 1.007 GB, free: 480 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.01469, allocations: 140.4 kB / 1.007 GB, free: 308 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.01538, allocations: 0.5015 MB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.01541, allocations: 33.7 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.01556, allocations: 156.3 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.01558, allocations: 11.89 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.01567, allocations: 49.66 kB / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.01584, allocations: 346.8 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.016, allocations: 99.92 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.01627, allocations: 269.5 kB / 1.008 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.01662, allocations: 239.3 kB / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.01662, allocations: 4 kB / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004753/0.0171, allocations: 309.2 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01712, allocations: 8 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01712, allocations: 0 / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01714, allocations: 0 / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01729, allocations: 15.98 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.0173, allocations: 7.938 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.01748, allocations: 23.88 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.0175, allocations: 4 kB / 1.009 GB, free: 14.15 MB / 0.9669 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.0002088/0.0177, allocations: 186.2 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.01776, allocations: 35.77 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.01812, allocations: 179.7 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01813, allocations: 0 / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.01813, allocations: 3.938 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.01814, allocations: 7.984 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.0184, allocations: 205.2 kB / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.0184, allocations: 4 kB / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.01849, allocations: 11.94 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.0185, allocations: 4 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01851, allocations: 4.125 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.01852, allocations: 11.98 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01852, allocations: 0 / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.01881, allocations: 191.3 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.01894, allocations: 67.61 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.01899, allocations: 4 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.01914, allocations: 11.98 kB / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.01917, allocations: 11.92 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.01918, allocations: 4 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004812/0.01966, allocations: 379 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01966, allocations: 4 kB / 1.01 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005063/0.02017, allocations: 103.9 kB / 1.01 GB, free: 12.68 MB / 0.9669 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.004865/0.02503, allocations: 2.811 MB / 1.013 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.0254, allocations: 179.8 kB / 1.013 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02541, allocations: 0 / 1.013 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.02548, allocations: 43.95 kB / 1.013 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.02585, allocations: 49.64 kB / 1.013 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.02686, allocations: 0.5915 MB / 1.014 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.02707, allocations: 207.4 kB / 1.014 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.02719, allocations: 45.92 kB / 1.014 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.02727, allocations: 24.48 kB / 1.014 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.02727, allocations: 3.938 kB / 1.014 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.01382/0.04109, allocations: 7.887 MB / 1.022 GB, free: 0.8477 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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: 8.643517028540373]