Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 103.5 kB / 16.35 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009759/0.000976, allocations: 193.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 60.34 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2525, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002655/0.2552, allocations: 1.582 MB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2566, allocations: 0.9283 MB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.2566, allocations: 3.938 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.2569, allocations: 59.7 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.2573, allocations: 151.3 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.972e-05/0.2573, allocations: 11.98 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.2577, allocations: 358.3 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.2578, allocations: 52.72 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.258, allocations: 147.3 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.2582, allocations: 135.3 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.2582, allocations: 16 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.2614, allocations: 0.5668 MB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.2615, allocations: 47.77 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2617, allocations: 139.2 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.276, allocations: 13.22 MB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.276, allocations: 4 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2761, allocations: 4 kB / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2761, allocations: 0 / 1.036 GB, free: 8.402 MB / 0.8106 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.0013/0.2774, allocations: 0.642 MB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2774, allocations: 8.625 kB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.2775, allocations: 40.5 kB / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.278, allocations: 374.3 kB / 1.037 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.278, allocations: 384 / 1.037 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.278, allocations: 8.375 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2782, allocations: 97.38 kB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2782, allocations: 4 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2782, allocations: 4 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2782, allocations: 3.938 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/0.2783, allocations: 67.92 kB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.2787, allocations: 352 kB / 1.037 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.2788, allocations: 110.3 kB / 1.037 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.2789, allocations: 59.45 kB / 1.037 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.2789, allocations: 0 / 1.037 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.2789, allocations: 50.44 kB / 1.038 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2789, allocations: 0 / 1.038 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003117/0.2792, allocations: 181.1 kB / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.2793, allocations: 136.4 kB / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.2799, allocations: 0.5053 MB / 1.038 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.2799, allocations: 25.7 kB / 1.038 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.28, allocations: 156.9 kB / 1.038 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.28, allocations: 23.73 kB / 1.039 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.2801, allocations: 49.61 kB / 1.039 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2803, allocations: 342.8 kB / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2804, allocations: 95.92 kB / 1.039 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2806, allocations: 160.5 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.2809, allocations: 235.2 kB / 1.039 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2809, allocations: 0 / 1.039 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003829/0.2813, allocations: 293.2 kB / 1.04 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2813, allocations: 11.94 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2813, allocations: 3.938 kB / 1.04 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2813, allocations: 0 / 1.04 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2814, allocations: 27.92 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2815, allocations: 0 / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2816, allocations: 27.73 kB / 1.04 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2817, allocations: 4 kB / 1.04 GB, free: 4.027 MB / 0.8106 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.0001534/0.2818, allocations: 182.4 kB / 1.04 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.2819, allocations: 31.56 kB / 1.04 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.2822, allocations: 175.7 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2822, allocations: 4.125 kB / 1.04 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2822, allocations: 4 kB / 1.04 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2822, allocations: 7.984 kB / 1.04 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2825, allocations: 293.4 kB / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2825, allocations: 4 kB / 1.04 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.2826, allocations: 15.94 kB / 1.04 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2826, allocations: 3.938 kB / 1.04 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2826, allocations: 0 / 1.04 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2826, allocations: 7.984 kB / 1.04 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2826, allocations: 0 / 1.04 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.2828, allocations: 183.3 kB / 1.041 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.283, allocations: 144.4 kB / 1.041 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.283, allocations: 4 kB / 1.041 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2832, allocations: 11.97 kB / 1.041 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2832, allocations: 8 kB / 1.041 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2832, allocations: 8 kB / 1.041 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004031/0.2836, allocations: 375 kB / 1.041 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2836, allocations: 0 / 1.041 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004401/0.2841, allocations: 100 kB / 1.041 GB, free: 2.383 MB / 0.8106 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.004308/0.2884, allocations: 2.815 MB / 1.044 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.2887, allocations: 163.8 kB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2887, allocations: 4 kB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/0.2888, allocations: 47.91 kB / 1.044 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2892, allocations: 65.72 kB / 1.044 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008304/0.29, allocations: 0.5803 MB / 1.045 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.2903, allocations: 0.8104 MB / 1.046 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.2904, allocations: 53.95 kB / 1.046 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.2905, allocations: 23.38 kB / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2905, allocations: 0 / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of Templates: time 0.01082/0.3013, allocations: 7.576 MB / 1.053 GB, free: 6.219 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches