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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00158/0.00158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 72.03 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.594, allocations: 151.6 MB / 1.017 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003291/0.5973, allocations: 1.59 MB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.5988, allocations: 0.9112 MB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.5989, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.5992, allocations: 63.67 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.5997, allocations: 139.4 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-05/0.5997, allocations: 11.97 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.6002, allocations: 362.2 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.6002, allocations: 44.73 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.6005, allocations: 143.4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.6007, allocations: 143.3 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.6007, allocations: 16 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007526/0.6015, allocations: 0.5242 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.6016, allocations: 51.72 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.6018, allocations: 139.3 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.6033, allocations: 0.8479 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6034, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6034, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6034, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 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.001429/0.6048, allocations: 0.6536 MB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6049, allocations: 8.031 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.6049, allocations: 36.55 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.6054, allocations: 366.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6055, allocations: 4.375 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.6055, allocations: 8.312 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.6057, allocations: 109.3 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.6057, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.6057, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6057, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.6058, allocations: 63.88 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.6063, allocations: 347.9 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.6064, allocations: 110.4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.6065, allocations: 55.47 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.6065, allocations: 7.984 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.6066, allocations: 46.44 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.6066, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003704/0.607, allocations: 181.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/0.6071, allocations: 132.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.6077, allocations: 0.5052 MB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.6077, allocations: 26.2 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.6079, allocations: 164.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.6079, allocations: 11.81 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.608, allocations: 49.69 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6082, allocations: 338.8 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6084, allocations: 99.91 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.6086, allocations: 164.2 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.6089, allocations: 239.2 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6089, allocations: 0 / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004493/0.6094, allocations: 293 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6094, allocations: 7.938 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6094, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6094, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.6096, allocations: 15.98 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6096, allocations: 0 / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.6098, allocations: 27.81 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.6098, allocations: 4 kB / 1.026 GB, free: 9.234 MB / 0.7794 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.0002117/0.61, allocations: 185.7 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.6101, allocations: 39.41 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.6105, allocations: 183.8 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6105, allocations: 240 / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.6105, allocations: 4 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6105, allocations: 3.938 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.6108, allocations: 293.4 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6108, allocations: 0 / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.6109, allocations: 19.98 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6109, allocations: 3.938 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6109, allocations: 7.938 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.611, allocations: 0 / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.611, allocations: 4.125 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.6112, allocations: 191.2 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.6114, allocations: 132.6 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.6114, allocations: 7.906 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.6116, allocations: 11.98 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.6116, allocations: 11.98 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.6116, allocations: 4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000468/0.6121, allocations: 379 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6121, allocations: 0 / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004925/0.6126, allocations: 103.9 kB / 1.028 GB, free: 7.57 MB / 0.7794 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.005178/0.6178, allocations: 2.807 MB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.6182, allocations: 171.8 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6182, allocations: 0 / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.6183, allocations: 43.91 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.6187, allocations: 61.78 kB / 1.031 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.6197, allocations: 0.5894 MB / 1.031 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.6202, allocations: 0.8143 MB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.6203, allocations: 54.28 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.6204, allocations: 23.44 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6204, allocations: 0 / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.0133/0.6337, allocations: 7.6 MB / 1.039 GB, free: 11.38 MB / 0.795 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches