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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_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.008804/0.008804, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001994/0.001994, allocations: 185.7 kB / 16.67 MB, free: 5.98 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.12 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.004061/0.331, allocations: 1.587 MB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3329, allocations: 0.9116 MB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.333, allocations: 4 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.3335, allocations: 67.66 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005929/0.3341, allocations: 147.3 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.969e-05/0.3342, allocations: 11.92 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.3347, allocations: 362.2 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.3348, allocations: 48.72 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.3351, allocations: 143.4 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.3353, allocations: 147.3 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.3354, allocations: 16 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.3386, allocations: 0.5706 MB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.169e-05/0.3387, allocations: 47.77 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.339, allocations: 139.2 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.3534, allocations: 13.22 MB / 1.225 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.3534, allocations: 4 kB / 1.225 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3534, allocations: 0 / 1.225 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.3535, allocations: 4 kB / 1.225 GB, free: 8.219 MB / 0.9825 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.001747/0.3552, allocations: 0.6459 MB / 1.225 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.3553, allocations: 16.61 kB / 1.225 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3554, allocations: 28.56 kB / 1.225 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.356, allocations: 382.2 kB / 1.226 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.356, allocations: 384 / 1.226 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3561, allocations: 12.31 kB / 1.226 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.3563, allocations: 101.4 kB / 1.226 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3563, allocations: 0 / 1.226 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3563, allocations: 0 / 1.226 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3563, allocations: 0 / 1.226 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3564, allocations: 71.88 kB / 1.226 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.3569, allocations: 344.1 kB / 1.226 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.357, allocations: 114.4 kB / 1.226 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.3571, allocations: 59.41 kB / 1.226 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3572, allocations: 7.984 kB / 1.226 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3572, allocations: 34.5 kB / 1.226 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3572, allocations: 0 / 1.226 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003902/0.3576, allocations: 193 kB / 1.227 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.3577, allocations: 132.5 kB / 1.227 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.3583, allocations: 0.5014 MB / 1.227 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3583, allocations: 25.7 kB / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3585, allocations: 156.3 kB / 1.227 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3585, allocations: 20.25 kB / 1.227 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.3586, allocations: 53.69 kB / 1.227 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3588, allocations: 338.8 kB / 1.228 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3589, allocations: 107.8 kB / 1.228 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3591, allocations: 156.2 kB / 1.228 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.3594, allocations: 243.2 kB / 1.228 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3594, allocations: 0 / 1.228 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004333/0.3599, allocations: 289.1 kB / 1.229 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3599, allocations: 7.938 kB / 1.229 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.3599, allocations: 0 / 1.229 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3599, allocations: 4 kB / 1.229 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3601, allocations: 19.98 kB / 1.229 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3601, allocations: 7.875 kB / 1.229 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3603, allocations: 23.81 kB / 1.229 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.3603, allocations: 4 kB / 1.229 GB, free: 3.844 MB / 0.9825 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.0001945/0.3605, allocations: 185.8 kB / 1.229 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.3606, allocations: 39.5 kB / 1.229 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.3609, allocations: 175.7 kB / 1.229 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.361, allocations: 240 / 1.229 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.361, allocations: 4 kB / 1.229 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.361, allocations: 3.984 kB / 1.229 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.3613, allocations: 297.6 kB / 1.229 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3613, allocations: 0 / 1.229 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.3614, allocations: 15.98 kB / 1.229 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.3615, allocations: 7.938 kB / 1.229 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3615, allocations: 4 kB / 1.229 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3615, allocations: 3.938 kB / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3615, allocations: 0 / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3618, allocations: 191.2 kB / 1.23 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3619, allocations: 136.6 kB / 1.23 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.362, allocations: 4 kB / 1.23 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3621, allocations: 7.984 kB / 1.23 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3622, allocations: 11.98 kB / 1.23 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3622, allocations: 7.938 kB / 1.23 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004558/0.3626, allocations: 379 kB / 1.23 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3626, allocations: 4 kB / 1.23 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005271/0.3632, allocations: 100 kB / 1.23 GB, free: 2.184 MB / 0.9825 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.004575/0.3678, allocations: 2.803 MB / 1.233 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.3682, allocations: 171.8 kB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3682, allocations: 0 / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.3683, allocations: 47.91 kB / 1.233 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3687, allocations: 57.66 kB / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3699, allocations: 0.584 MB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3703, allocations: 0.8182 MB / 1.235 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.3705, allocations: 54.28 kB / 1.235 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.3706, allocations: 19.44 kB / 1.235 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3706, allocations: 0 / 1.235 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of Templates: time 0.01398/0.3846, allocations: 7.585 MB / 1.242 GB, free: 6.02 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) 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) Reference file matches