Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00104/0.00104, allocations: 172.9 kB / 487.4 MB, free: 5.02 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.711/1.711, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 93.48 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.279e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3515, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.596, allocations: 150.7 MB / 1.353 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.596, allocations: 78.16 kB / 1.353 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8561/2.452, allocations: 348.2 MB / 1.693 GB, free: 11.75 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.056e-06/2.452, allocations: 0 / 1.693 GB, free: 11.75 MB / 1.12 GB Notification: Performance of Transformations before backend: time 3.658e-05/2.453, allocations: 4 kB / 1.693 GB, free: 11.75 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.00303/2.456, allocations: 497.1 kB / 1.694 GB, free: 11.23 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/2.456, allocations: 8.031 kB / 1.694 GB, free: 11.23 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/2.456, allocations: 35.58 kB / 1.694 GB, free: 11.19 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/2.457, allocations: 384.5 kB / 1.694 GB, free: 10.82 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/2.457, allocations: 0 / 1.694 GB, free: 10.82 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/2.457, allocations: 4 kB / 1.694 GB, free: 10.82 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001553/2.457, allocations: 62.17 kB / 1.694 GB, free: 10.77 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/2.457, allocations: 100 kB / 1.694 GB, free: 10.66 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/2.457, allocations: 4 kB / 1.694 GB, free: 10.66 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/2.457, allocations: 3.953 kB / 1.694 GB, free: 10.66 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/2.457, allocations: 0 / 1.694 GB, free: 10.66 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/2.458, allocations: 316.3 kB / 1.695 GB, free: 10.35 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/2.458, allocations: 101.9 kB / 1.695 GB, free: 10.22 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/2.458, allocations: 61.64 kB / 1.695 GB, free: 10.16 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/2.458, allocations: 4 kB / 1.695 GB, free: 10.16 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/2.458, allocations: 37.81 kB / 1.695 GB, free: 10.11 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/2.458, allocations: 0 / 1.695 GB, free: 10.11 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.000361/2.458, allocations: 139.5 kB / 1.695 GB, free: 9.984 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/2.459, allocations: 136.5 kB / 1.695 GB, free: 9.82 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/2.459, allocations: 416.4 kB / 1.695 GB, free: 9.492 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/2.459, allocations: 32.95 kB / 1.695 GB, free: 9.457 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/2.459, allocations: 163.1 kB / 1.696 GB, free: 9.348 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/2.459, allocations: 19.12 kB / 1.696 GB, free: 9.332 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/2.459, allocations: 0 / 1.696 GB, free: 9.332 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001844/2.46, allocations: 349.2 kB / 1.696 GB, free: 8.992 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/2.46, allocations: 34.78 kB / 1.696 GB, free: 8.965 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/2.46, allocations: 90.33 kB / 1.696 GB, free: 8.863 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/2.46, allocations: 46.33 kB / 1.696 GB, free: 8.828 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/2.46, allocations: 0 / 1.696 GB, free: 8.828 MB / 1.12 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/2.46, allocations: 138.7 kB / 1.696 GB, free: 8.699 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/2.46, allocations: 8.125 kB / 1.696 GB, free: 8.691 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/2.46, allocations: 4 kB / 1.696 GB, free: 8.688 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/2.46, allocations: 0 / 1.696 GB, free: 8.688 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/2.46, allocations: 11.98 kB / 1.696 GB, free: 8.676 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/2.46, allocations: 7.984 kB / 1.696 GB, free: 8.668 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/2.46, allocations: 7.984 kB / 1.696 GB, free: 8.66 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/2.46, allocations: 0 / 1.696 GB, free: 8.66 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 0.0001034/2.461, allocations: 112.6 kB / 1.696 GB, free: 8.547 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/2.461, allocations: 31.62 kB / 1.696 GB, free: 8.516 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/2.461, allocations: 183 kB / 1.697 GB, free: 8.355 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/2.461, allocations: 4 kB / 1.697 GB, free: 8.352 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.461, allocations: 0 / 1.697 GB, free: 8.352 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/2.461, allocations: 0 / 1.697 GB, free: 8.352 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/2.461, allocations: 281.4 kB / 1.697 GB, free: 8.078 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.461, allocations: 0 / 1.697 GB, free: 8.078 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/2.462, allocations: 12 kB / 1.697 GB, free: 8.066 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/2.462, allocations: 8.062 kB / 1.697 GB, free: 8.059 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/2.462, allocations: 4 kB / 1.697 GB, free: 8.055 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/2.462, allocations: 3.984 kB / 1.697 GB, free: 8.051 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/2.462, allocations: 3.938 kB / 1.697 GB, free: 8.047 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/2.462, allocations: 217.9 kB / 1.697 GB, free: 7.812 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/2.462, allocations: 131.8 kB / 1.697 GB, free: 7.672 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/2.462, allocations: 7.984 kB / 1.697 GB, free: 7.664 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/2.462, allocations: 4 kB / 1.697 GB, free: 7.66 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/2.462, allocations: 11.94 kB / 1.697 GB, free: 7.648 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/2.462, allocations: 7.562 kB / 1.697 GB, free: 7.645 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0004053/2.463, allocations: 345.1 kB / 1.698 GB, free: 7.383 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.3e-07/2.463, allocations: 0 / 1.698 GB, free: 7.383 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.000288/2.463, allocations: 44 kB / 1.698 GB, free: 7.34 MB / 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.0002698/2.463, allocations: 126.5 kB / 1.698 GB, free: 7.211 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.000193/2.464, allocations: 81.75 kB / 1.698 GB, free: 7.145 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.464, allocations: 0 / 1.698 GB, free: 7.145 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/2.464, allocations: 42.16 kB / 1.698 GB, free: 7.113 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/2.464, allocations: 61.97 kB / 1.698 GB, free: 7.07 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/2.465, allocations: 425 kB / 1.698 GB, free: 6.66 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/2.465, allocations: 0.821 MB / 1.699 GB, free: 5.828 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0001875/2.466, allocations: 58.03 kB / 1.699 GB, free: 5.773 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/2.466, allocations: 19.44 kB / 1.699 GB, free: 5.754 MB / 1.12 GB Notification: Performance of SimCode: time 4.51e-07/2.466, allocations: 0 / 1.699 GB, free: 5.754 MB / 1.12 GB Notification: Performance of Templates: time 0.008835/2.475, allocations: 3.019 MB / 1.702 GB, free: 2.801 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches