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.001773/0.001773, allocations: 85.48 kB / 19.44 MB, free: 344 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.00198/0.00198, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.47/3.47, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.473e-06/1.473e-06, allocations: 0 / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.375e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002942/0.002966, allocations: 1.629 MB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.00488, allocations: 0.922 MB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.004945, allocations: 3.938 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.005197, allocations: 59.61 kB / 0.88 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.005681, allocations: 145.3 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.197e-05/0.005723, allocations: 15.91 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.00621, allocations: 371.4 kB / 0.8805 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.006261, allocations: 16.91 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.006631, allocations: 208.6 kB / 0.8807 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.006859, allocations: 123.7 kB / 0.8808 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.006905, allocations: 17.03 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.007563, allocations: 433 kB / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.007653, allocations: 61.09 kB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.007792, allocations: 83.72 kB / 0.8814 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.009651, allocations: 0.9514 MB / 0.8823 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.009653, allocations: 5.094 kB / 0.8823 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.009654, allocations: 0 / 0.8823 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.009659, allocations: 0 / 0.8823 GB, free: 1.691 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.001508/0.01117, allocations: 0.6994 MB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.0112, allocations: 11.47 kB / 0.883 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/0.0113, allocations: 36.75 kB / 0.883 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.01186, allocations: 314.8 kB / 0.8833 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.01187, allocations: 4.375 kB / 0.8833 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.01189, allocations: 4.375 kB / 0.8833 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.01207, allocations: 104.9 kB / 0.8834 GB, free: 460 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.01208, allocations: 4.188 kB / 0.8834 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.01209, allocations: 0.9688 kB / 0.8834 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.0121, allocations: 3.938 kB / 0.8835 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.01221, allocations: 69.39 kB / 0.8835 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.01267, allocations: 319.6 kB / 0.8838 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.01287, allocations: 144.3 kB / 0.884 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.01298, allocations: 70.72 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.013, allocations: 0 / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.01304, allocations: 45.38 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.01304, allocations: 0 / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0003966/0.01344, allocations: 173.3 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.01353, allocations: 136.5 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.01433, allocations: 0.604 MB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.01436, allocations: 26.2 kB / 0.885 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.01457, allocations: 227.1 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.0146, allocations: 19.89 kB / 0.8852 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01471, allocations: 67.34 kB / 0.8853 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000333/0.01504, allocations: 0.5313 MB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.01516, allocations: 59.88 kB / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.01545, allocations: 252.8 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.01596, allocations: 170.6 kB / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01596, allocations: 0 / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003989/0.01636, allocations: 213.3 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01637, allocations: 4 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01638, allocations: 0 / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.0164, allocations: 8 kB / 0.8865 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01652, allocations: 19.92 kB / 0.8865 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01653, allocations: 3.938 kB / 0.8865 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.01671, allocations: 31.81 kB / 0.8865 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01672, allocations: 4 kB / 0.8865 GB, free: 12.99 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.0002081/0.01693, allocations: 220.5 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.01699, allocations: 35.8 kB / 0.8868 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.01734, allocations: 175.8 kB / 0.8869 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01735, allocations: 4.125 kB / 0.8869 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.01736, allocations: 11.94 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01736, allocations: 0 / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.01771, allocations: 268.5 kB / 0.8872 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01771, allocations: 0 / 0.8872 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.01781, allocations: 15.98 kB / 0.8872 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.01781, allocations: 4 kB / 0.8872 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01783, allocations: 4 kB / 0.8872 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.01783, allocations: 4 kB / 0.8872 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.01784, allocations: 3.938 kB / 0.8872 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.01814, allocations: 207.2 kB / 0.8874 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.0183, allocations: 55.69 kB / 0.8875 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.01836, allocations: 7.984 kB / 0.8875 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.0185, allocations: 11.98 kB / 0.8875 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.01853, allocations: 7.938 kB / 0.8875 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01854, allocations: 3.984 kB / 0.8875 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005557/0.01909, allocations: 431 kB / 0.8879 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01909, allocations: 0 / 0.8879 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004967/0.01959, allocations: 103.9 kB / 0.888 GB, free: 11.36 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.005111/0.0247, allocations: 2.811 MB / 0.8908 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.02504, allocations: 141.6 kB / 0.8909 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.02504, allocations: 0 / 0.8909 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.02514, allocations: 55.78 kB / 0.891 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.0255, allocations: 61.62 kB / 0.891 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02656, allocations: 0.5837 MB / 0.8916 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.02678, allocations: 199.3 kB / 0.8918 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.0269, allocations: 38.28 kB / 0.8918 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.02698, allocations: 28.48 kB / 0.8919 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.02698, allocations: 0 / 0.8919 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.01487/0.04186, allocations: 7.944 MB / 0.8996 GB, free: 15.51 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","/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.767985287006013]