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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.702/2.702, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 183.6 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 87.91 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.847e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.561, allocations: 151.5 MB / 1.36 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.562, allocations: 72.83 kB / 1.36 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8573/2.419, allocations: 348.2 MB / 1.7 GB, free: 4.688 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.014e-06/2.419, allocations: 0 / 1.7 GB, free: 4.688 MB / 1.12 GB Notification: Performance of Transformations before backend: time 3.288e-05/2.419, allocations: 4 kB / 1.7 GB, free: 4.684 MB / 1.12 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.002273/2.421, allocations: 0.4923 MB / 1.701 GB, free: 4.164 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 6.878e-05/2.421, allocations: 8.031 kB / 1.701 GB, free: 4.156 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/2.422, allocations: 31.62 kB / 1.701 GB, free: 4.125 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/2.423, allocations: 385.8 kB / 1.701 GB, free: 3.754 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/2.423, allocations: 0 / 1.701 GB, free: 3.754 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/2.423, allocations: 4 kB / 1.701 GB, free: 3.75 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/2.423, allocations: 62.31 kB / 1.701 GB, free: 3.703 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/2.423, allocations: 95.88 kB / 1.701 GB, free: 3.598 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/2.423, allocations: 7.953 kB / 1.701 GB, free: 3.59 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/2.423, allocations: 0 / 1.701 GB, free: 3.59 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/2.423, allocations: 0 / 1.701 GB, free: 3.59 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/2.424, allocations: 306 kB / 1.702 GB, free: 3.293 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/2.424, allocations: 103.8 kB / 1.702 GB, free: 3.164 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/2.424, allocations: 64.95 kB / 1.702 GB, free: 3.098 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/2.424, allocations: 7.906 kB / 1.702 GB, free: 3.094 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/2.424, allocations: 38.38 kB / 1.702 GB, free: 3.051 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/2.424, allocations: 0 / 1.702 GB, free: 3.051 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.0003737/2.424, allocations: 138.7 kB / 1.702 GB, free: 2.922 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/2.424, allocations: 132.5 kB / 1.702 GB, free: 2.762 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/2.425, allocations: 417.2 kB / 1.703 GB, free: 2.434 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/2.425, allocations: 29.83 kB / 1.703 GB, free: 2.398 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/2.425, allocations: 165.9 kB / 1.703 GB, free: 2.289 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/2.425, allocations: 19.69 kB / 1.703 GB, free: 2.27 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/2.425, allocations: 0 / 1.703 GB, free: 2.27 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001732/2.425, allocations: 348.2 kB / 1.703 GB, free: 1.934 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/2.425, allocations: 38.16 kB / 1.703 GB, free: 1.902 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/2.425, allocations: 92.39 kB / 1.703 GB, free: 1.801 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/2.426, allocations: 39.02 kB / 1.703 GB, free: 1.77 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/2.426, allocations: 0 / 1.703 GB, free: 1.77 MB / 1.12 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002411/2.426, allocations: 139.7 kB / 1.703 GB, free: 1.641 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/2.426, allocations: 12.12 kB / 1.703 GB, free: 1.629 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/2.426, allocations: 0 / 1.703 GB, free: 1.629 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/2.426, allocations: 0 / 1.703 GB, free: 1.629 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/2.426, allocations: 18.98 kB / 1.703 GB, free: 1.613 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/2.426, allocations: 4 kB / 1.703 GB, free: 1.609 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/2.426, allocations: 7.984 kB / 1.703 GB, free: 1.602 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/2.426, allocations: 3.953 kB / 1.703 GB, free: 1.598 MB / 1.12 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/2.426, allocations: 108.9 kB / 1.704 GB, free: 1.484 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/2.426, allocations: 31.62 kB / 1.704 GB, free: 1.453 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/2.427, allocations: 182 kB / 1.704 GB, free: 1.293 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/2.427, allocations: 3.984 kB / 1.704 GB, free: 1.289 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/2.427, allocations: 8 kB / 1.704 GB, free: 1.281 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/2.427, allocations: 0 / 1.704 GB, free: 1.281 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/2.427, allocations: 274.4 kB / 1.704 GB, free: 1.016 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/2.427, allocations: 0 / 1.704 GB, free: 1.016 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/2.427, allocations: 16.11 kB / 1.704 GB, free: 1 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/2.427, allocations: 4 kB / 1.704 GB, free: 0.9961 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/2.427, allocations: 4 kB / 1.704 GB, free: 0.9922 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/2.427, allocations: 0.625 kB / 1.704 GB, free: 0.9922 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.427, allocations: 0 / 1.704 GB, free: 0.9922 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/2.428, allocations: 231.8 kB / 1.704 GB, free: 0.7461 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/2.428, allocations: 127 kB / 1.704 GB, free: 0.6094 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/2.428, allocations: 0 / 1.704 GB, free: 0.6094 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/2.428, allocations: 7.984 kB / 1.704 GB, free: 0.6016 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/2.428, allocations: 7.953 kB / 1.704 GB, free: 0.5938 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/2.428, allocations: 7.125 kB / 1.704 GB, free: 0.5898 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0004115/2.428, allocations: 346.2 kB / 1.705 GB, free: 336 kB / 1.12 GB Notification: Performance of sort global known variables: time 2.8e-07/2.428, allocations: 0 / 1.705 GB, free: 336 kB / 1.12 GB Notification: Performance of remove unused functions: time 0.0002747/2.429, allocations: 47.98 kB / 1.705 GB, free: 288 kB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002178/2.429, allocations: 119.1 kB / 1.705 GB, free: 160 kB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001768/2.429, allocations: 84.11 kB / 1.705 GB, free: 92 kB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/2.429, allocations: 0 / 1.705 GB, free: 92 kB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/2.429, allocations: 44.97 kB / 1.705 GB, free: 56 kB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/2.429, allocations: 63.59 kB / 1.705 GB, free: 12 kB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/2.43, allocations: 428.8 kB / 1.705 GB, free: 15.6 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/2.431, allocations: 0.8195 MB / 1.706 GB, free: 14.77 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001994/2.431, allocations: 66 kB / 1.706 GB, free: 14.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/2.431, allocations: 19.44 kB / 1.706 GB, free: 14.68 MB / 1.135 GB Notification: Performance of SimCode: time 2.6e-07/2.431, allocations: 0 / 1.706 GB, free: 14.68 MB / 1.135 GB Notification: Performance of Templates: time 0.007834/2.439, allocations: 3.019 MB / 1.709 GB, free: 11.74 MB / 1.135 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","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches