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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.324/3.324, allocations: 0.4893 GB / 0.7884 GB, free: 33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001979/0.001979, allocations: 68.61 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 174.9 MB / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003015/0.3293, allocations: 1.603 MB / 1.318 GB, free: 8.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.331, allocations: 0.9345 MB / 1.318 GB, free: 7.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3311, allocations: 7.938 kB / 1.318 GB, free: 7.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.3314, allocations: 55.73 kB / 1.319 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.332, allocations: 139.3 kB / 1.319 GB, free: 6.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.093e-05/0.332, allocations: 15.92 kB / 1.319 GB, free: 6.914 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.3325, allocations: 358.3 kB / 1.319 GB, free: 6.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.3325, allocations: 12.94 kB / 1.319 GB, free: 6.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3328, allocations: 155.3 kB / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.333, allocations: 135.3 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.3331, allocations: 16 kB / 1.319 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007818/0.3339, allocations: 0.5514 MB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.3339, allocations: 51.77 kB / 1.32 GB, free: 5.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3341, allocations: 131.2 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.3355, allocations: 0.8575 MB / 1.321 GB, free: 4.637 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3355, allocations: 0 / 1.321 GB, free: 4.637 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3355, allocations: 0 / 1.321 GB, free: 4.637 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3355, allocations: 0 / 1.321 GB, free: 4.637 MB / 1.014 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.00156/0.3371, allocations: 0.5821 MB / 1.321 GB, free: 4.023 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3371, allocations: 12.03 kB / 1.321 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.3372, allocations: 36.64 kB / 1.321 GB, free: 3.977 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.3378, allocations: 316.8 kB / 1.322 GB, free: 3.648 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3378, allocations: 4.375 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3378, allocations: 8.312 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.338, allocations: 109.3 kB / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.338, allocations: 3.984 kB / 1.322 GB, free: 3.508 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.338, allocations: 4 kB / 1.322 GB, free: 3.504 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.338, allocations: 0 / 1.322 GB, free: 3.504 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3381, allocations: 67.86 kB / 1.322 GB, free: 3.438 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.3386, allocations: 311.2 kB / 1.322 GB, free: 3.082 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3387, allocations: 110.4 kB / 1.322 GB, free: 2.938 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.3388, allocations: 63.39 kB / 1.322 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3389, allocations: 4 kB / 1.322 GB, free: 2.859 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.3389, allocations: 42.5 kB / 1.322 GB, free: 2.809 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3389, allocations: 0 / 1.322 GB, free: 2.809 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003925/0.3393, allocations: 185.7 kB / 1.323 GB, free: 2.621 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.3394, allocations: 132.5 kB / 1.323 GB, free: 2.461 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.3401, allocations: 0.5053 MB / 1.323 GB, free: 1.945 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.3401, allocations: 25.7 kB / 1.323 GB, free: 1.914 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3402, allocations: 164.4 kB / 1.323 GB, free: 1.746 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3403, allocations: 15.89 kB / 1.323 GB, free: 1.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.3404, allocations: 49.66 kB / 1.324 GB, free: 1.676 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3405, allocations: 342.8 kB / 1.324 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3407, allocations: 103.9 kB / 1.324 GB, free: 1.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3409, allocations: 164.2 kB / 1.324 GB, free: 1.047 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.3412, allocations: 243.2 kB / 1.324 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3412, allocations: 0 / 1.324 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004529/0.3417, allocations: 297.3 kB / 1.325 GB, free: 0.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3417, allocations: 11.94 kB / 1.325 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3417, allocations: 4 kB / 1.325 GB, free: 496 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3417, allocations: 7.922 kB / 1.325 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3419, allocations: 19.98 kB / 1.325 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3419, allocations: 7.938 kB / 1.325 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.3421, allocations: 19.88 kB / 1.325 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3421, allocations: 8 kB / 1.325 GB, free: 432 kB / 1.014 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.0001788/0.3423, allocations: 174.4 kB / 1.325 GB, free: 248 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.3423, allocations: 39.7 kB / 1.325 GB, free: 208 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.3426, allocations: 183.6 kB / 1.325 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3427, allocations: 4 kB / 1.325 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3427, allocations: 0 / 1.325 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3427, allocations: 0 / 1.325 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.343, allocations: 260.5 kB / 1.325 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.343, allocations: 3.938 kB / 1.325 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.3431, allocations: 15.98 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3431, allocations: 12.06 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3431, allocations: 0 / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3431, allocations: 0 / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3431, allocations: 7.938 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3434, allocations: 187.4 kB / 1.326 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3435, allocations: 63.72 kB / 1.326 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3436, allocations: 11.95 kB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3437, allocations: 7.984 kB / 1.326 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.3437, allocations: 8.219 kB / 1.326 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3437, allocations: 4 kB / 1.326 GB, free: 15.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004592/0.3442, allocations: 383 kB / 1.326 GB, free: 15 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3442, allocations: 0 / 1.326 GB, free: 15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004891/0.3447, allocations: 103.9 kB / 1.326 GB, free: 14.9 MB / 1.029 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.004846/0.3495, allocations: 2.804 MB / 1.329 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.35, allocations: 171.8 kB / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.35, allocations: 0 / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.35, allocations: 47.91 kB / 1.329 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3505, allocations: 65.56 kB / 1.329 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3515, allocations: 0.5922 MB / 1.33 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.352, allocations: 0.8181 MB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.3521, allocations: 45.92 kB / 1.331 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.3522, allocations: 23.44 kB / 1.331 GB, free: 10.26 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3522, allocations: 4 kB / 1.331 GB, free: 10.25 MB / 1.029 GB Notification: Performance of Templates: time 0.01432/0.3665, allocations: 7.675 MB / 1.338 GB, free: 2.613 MB / 1.029 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: 9.26654521562159]