Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002593/0.002593, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002266/0.002266, allocations: 195.2 kB / 22.11 MB, free: 5.152 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.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 495.8 MB / 0.783 GB, free: 33.67 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-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 68.73 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003036/0.3172, allocations: 1.61 MB / 1.308 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3187, allocations: 0.9307 MB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.3188, allocations: 11.94 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3191, allocations: 59.66 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.3196, allocations: 147.3 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.051e-05/0.3196, allocations: 7.984 kB / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.3201, allocations: 362.3 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.3201, allocations: 8.938 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.3204, allocations: 155.4 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.3206, allocations: 135.4 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.3207, allocations: 16 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.3213, allocations: 492.7 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.3214, allocations: 43.78 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.3216, allocations: 143.1 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.323, allocations: 0.8302 MB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.323, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.323, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.323, allocations: 4 kB / 1.312 GB, free: 12.9 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.001491/0.3245, allocations: 0.586 MB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3245, allocations: 12.92 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.3246, allocations: 32.7 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3251, allocations: 316.9 kB / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3251, allocations: 384 / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3252, allocations: 8.312 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3253, allocations: 105.4 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3253, allocations: 0 / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3253, allocations: 4 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3253, allocations: 0 / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3255, allocations: 67.86 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3259, allocations: 315.1 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.326, allocations: 114.3 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.3261, allocations: 63.45 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3261, allocations: 0 / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.3262, allocations: 42.44 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3262, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.000368/0.3265, allocations: 185.2 kB / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.3266, allocations: 132.5 kB / 1.313 GB, free: 10.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.3273, allocations: 0.5014 MB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3273, allocations: 29.7 kB / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3274, allocations: 156.9 kB / 1.314 GB, free: 10.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3275, allocations: 19.88 kB / 1.314 GB, free: 9.992 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.3275, allocations: 53.64 kB / 1.314 GB, free: 9.934 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3277, allocations: 346.7 kB / 1.315 GB, free: 9.586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3279, allocations: 107.9 kB / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3281, allocations: 154.8 kB / 1.315 GB, free: 9.305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.3284, allocations: 247.2 kB / 1.315 GB, free: 9.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3284, allocations: 0 / 1.315 GB, free: 9.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004717/0.3289, allocations: 297.3 kB / 1.315 GB, free: 8.754 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3289, allocations: 7.938 kB / 1.315 GB, free: 8.746 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3289, allocations: 4 kB / 1.315 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3289, allocations: 0 / 1.315 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3291, allocations: 23.91 kB / 1.315 GB, free: 8.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3291, allocations: 4 kB / 1.315 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3293, allocations: 23.88 kB / 1.315 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3293, allocations: 8 kB / 1.315 GB, free: 8.684 MB / 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.00017/0.3294, allocations: 173.8 kB / 1.316 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.3295, allocations: 39.7 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.3298, allocations: 179.9 kB / 1.316 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3299, allocations: 4 kB / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3299, allocations: 128 / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3299, allocations: 7.984 kB / 1.316 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3302, allocations: 260.5 kB / 1.316 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3302, allocations: 4 kB / 1.316 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.3303, allocations: 11.98 kB / 1.316 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3303, allocations: 7.938 kB / 1.316 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3303, allocations: 8 kB / 1.316 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3303, allocations: 7.938 kB / 1.316 GB, free: 7.938 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3303, allocations: 0 / 1.316 GB, free: 7.938 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3306, allocations: 191.4 kB / 1.316 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3307, allocations: 67.64 kB / 1.316 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3308, allocations: 0 / 1.316 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3309, allocations: 11.98 kB / 1.316 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.3309, allocations: 7.922 kB / 1.316 GB, free: 7.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.331, allocations: 8 kB / 1.316 GB, free: 7.629 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004892/0.3314, allocations: 383 kB / 1.317 GB, free: 7.258 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3314, allocations: 3.938 kB / 1.317 GB, free: 7.254 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004961/0.3319, allocations: 99.88 kB / 1.317 GB, free: 7.156 MB / 1.014 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.004958/0.3369, allocations: 2.804 MB / 1.319 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.3373, allocations: 163.8 kB / 1.32 GB, free: 4.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3373, allocations: 0 / 1.32 GB, free: 4.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.3373, allocations: 43.91 kB / 1.32 GB, free: 4.137 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3377, allocations: 58.75 kB / 1.32 GB, free: 4.082 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3388, allocations: 0.5997 MB / 1.32 GB, free: 3.445 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3392, allocations: 0.8182 MB / 1.321 GB, free: 2.602 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.3394, allocations: 54.28 kB / 1.321 GB, free: 2.547 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3395, allocations: 19.44 kB / 1.321 GB, free: 2.527 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.3395, allocations: 0 / 1.321 GB, free: 2.527 MB / 1.014 GB Notification: Performance of Templates: time 0.01475/0.3542, allocations: 7.676 MB / 1.329 GB, free: 10.89 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.205118231475353]