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.005329/0.005329, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001158/0.001158, allocations: 191.8 kB / 16.67 MB, free: 5.973 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3133, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00277/0.3161, allocations: 1.579 MB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3176, allocations: 0.9194 MB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.3177, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.3181, allocations: 71.66 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.3186, allocations: 151.2 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.23e-05/0.3187, allocations: 7.984 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.3191, allocations: 362.3 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3192, allocations: 48.72 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.3195, allocations: 143.4 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3197, allocations: 143.3 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.3198, allocations: 16 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.323, allocations: 0.5668 MB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.3231, allocations: 51.77 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.3233, allocations: 135.2 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.3372, allocations: 13.22 MB / 1.225 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.3372, allocations: 0 / 1.225 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3373, allocations: 0 / 1.225 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.3373, allocations: 0 / 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.002025/0.3393, allocations: 0.6634 MB / 1.225 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3394, allocations: 8.625 kB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.736e-05/0.3395, allocations: 32.56 kB / 1.225 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.3401, allocations: 378.2 kB / 1.226 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3401, allocations: 4.375 kB / 1.226 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3401, allocations: 4.375 kB / 1.226 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3403, allocations: 101.4 kB / 1.226 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3403, allocations: 7.938 kB / 1.226 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3403, allocations: 0 / 1.226 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3404, allocations: 7.922 kB / 1.226 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3405, allocations: 63.94 kB / 1.226 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3409, allocations: 340.1 kB / 1.226 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3411, allocations: 114.4 kB / 1.226 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.3412, allocations: 55.47 kB / 1.226 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3412, allocations: 7.984 kB / 1.226 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3412, allocations: 42.44 kB / 1.226 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.3413, allocations: 0 / 1.226 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000368/0.3416, allocations: 185 kB / 1.227 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3417, allocations: 132.5 kB / 1.227 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.3423, allocations: 0.5053 MB / 1.227 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3424, allocations: 25.7 kB / 1.227 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3425, allocations: 168.3 kB / 1.227 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3425, allocations: 15.75 kB / 1.227 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.3426, allocations: 54.19 kB / 1.228 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3428, allocations: 342.8 kB / 1.228 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3429, allocations: 99.88 kB / 1.228 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3431, allocations: 158.8 kB / 1.228 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3434, allocations: 239.2 kB / 1.228 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3434, allocations: 0 / 1.228 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004186/0.3438, allocations: 289.1 kB / 1.229 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3439, allocations: 11.94 kB / 1.229 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3439, allocations: 3.938 kB / 1.229 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3439, allocations: 0 / 1.229 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3441, allocations: 19.98 kB / 1.229 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3441, allocations: 3.984 kB / 1.229 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.3443, allocations: 19.83 kB / 1.229 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3443, allocations: 11.94 kB / 1.229 GB, free: 3.828 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.0001683/0.3445, allocations: 181.8 kB / 1.229 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.3445, allocations: 31.56 kB / 1.229 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.3448, allocations: 183.7 kB / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3449, allocations: 0 / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3449, allocations: 0 / 1.229 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3449, allocations: 4 kB / 1.229 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3451, allocations: 289.6 kB / 1.229 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3452, allocations: 8 kB / 1.229 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.3453, allocations: 19.92 kB / 1.229 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3453, allocations: 3.938 kB / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3453, allocations: 0 / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3453, allocations: 4 kB / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3453, allocations: 0 / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3455, allocations: 199.1 kB / 1.23 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.3457, allocations: 136.6 kB / 1.23 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.3458, allocations: 8 kB / 1.23 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3459, allocations: 7.984 kB / 1.23 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.3459, allocations: 7.984 kB / 1.23 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3459, allocations: 4 kB / 1.23 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004153/0.3464, allocations: 375 kB / 1.23 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3464, allocations: 4 kB / 1.23 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004844/0.3469, allocations: 100 kB / 1.23 GB, free: 2.18 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.004378/0.3513, allocations: 2.815 MB / 1.233 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3516, allocations: 172 kB / 1.233 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3516, allocations: 3.938 kB / 1.233 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/0.3517, allocations: 39.97 kB / 1.233 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3521, allocations: 61.8 kB / 1.233 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.353, allocations: 0.584 MB / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3534, allocations: 0.8181 MB / 1.235 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.3535, allocations: 49.92 kB / 1.235 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.3536, allocations: 23.44 kB / 1.235 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/0.3536, allocations: 0 / 1.235 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.01256/0.3661, allocations: 7.672 MB / 1.242 GB, free: 5.914 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