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.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.001456/0.001456, allocations: 103 kB / 16.45 MB, free: 6.5 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.00166/0.00166, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.46/1.46, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 66.91 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003146/0.325, allocations: 1.604 MB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3267, allocations: 0.9501 MB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3268, allocations: 4 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3271, allocations: 67.64 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.3275, allocations: 147.2 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.677e-05/0.3276, allocations: 7.984 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.3281, allocations: 358.3 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.3281, allocations: 32.73 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3284, allocations: 159.4 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3286, allocations: 139.3 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.3286, allocations: 16 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007143/0.3293, allocations: 0.5319 MB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.3294, allocations: 59.75 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3296, allocations: 135.2 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3309, allocations: 0.8575 MB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3309, allocations: 0 / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3309, allocations: 3.938 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3309, allocations: 0 / 1.326 GB, free: 13.72 MB / 1.029 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.001445/0.3323, allocations: 0.663 MB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3324, allocations: 19.97 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.3324, allocations: 32.75 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.333, allocations: 378.6 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.333, allocations: 4.375 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.333, allocations: 4.375 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3332, allocations: 109.3 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3332, allocations: 0 / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3332, allocations: 0 / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3332, allocations: 4 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3333, allocations: 67.88 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3337, allocations: 340.1 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3339, allocations: 106.5 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.334, allocations: 63.39 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.334, allocations: 7.938 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.334, allocations: 34.5 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.334, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003563/0.3344, allocations: 185.3 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.3344, allocations: 133 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.3351, allocations: 0.5053 MB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3351, allocations: 33.7 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3352, allocations: 156.4 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3353, allocations: 11.89 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.3353, allocations: 45.7 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3355, allocations: 346.8 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3357, allocations: 103.9 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3359, allocations: 158.7 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.3362, allocations: 231.3 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3362, allocations: 7.938 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004432/0.3367, allocations: 289.3 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3367, allocations: 7.938 kB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3367, allocations: 0 / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3367, allocations: 8 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3368, allocations: 15.98 kB / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3368, allocations: 3.984 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.337, allocations: 31.83 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.337, allocations: 4 kB / 1.33 GB, free: 9.336 MB / 1.029 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.000181/0.3372, allocations: 177.7 kB / 1.33 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3373, allocations: 39.69 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.3376, allocations: 191.9 kB / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3376, allocations: 0 / 1.331 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3376, allocations: 4 kB / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3376, allocations: 0 / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.3379, allocations: 289.5 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3379, allocations: 0 / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.338, allocations: 15.98 kB / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.338, allocations: 7.938 kB / 1.331 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.338, allocations: 4 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.338, allocations: 4.125 kB / 1.331 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.338, allocations: 4 kB / 1.331 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3383, allocations: 191.3 kB / 1.331 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3384, allocations: 140.8 kB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.3385, allocations: 7.938 kB / 1.331 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3386, allocations: 15.98 kB / 1.331 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.3386, allocations: 3.984 kB / 1.331 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.3387, allocations: 7.938 kB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004577/0.3391, allocations: 383 kB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3391, allocations: 0 / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005353/0.3397, allocations: 95.94 kB / 1.332 GB, free: 7.676 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.004648/0.3443, allocations: 2.827 MB / 1.334 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.3447, allocations: 155.8 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3447, allocations: 4 kB / 1.335 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/0.3448, allocations: 44.09 kB / 1.335 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3451, allocations: 63.81 kB / 1.335 GB, free: 4.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3462, allocations: 0.603 MB / 1.335 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3466, allocations: 0.8143 MB / 1.336 GB, free: 3.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.3468, allocations: 46.28 kB / 1.336 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.3468, allocations: 23.44 kB / 1.336 GB, free: 3.023 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3468, allocations: 0 / 1.336 GB, free: 3.023 MB / 1.029 GB Notification: Performance of Templates: time 0.01313/0.36, allocations: 7.681 MB / 1.344 GB, free: 11.37 MB / 1.045 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: 8.937463987153023]