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.624/2.624, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001561/0.001561, allocations: 183.1 kB / 0.4902 GB, free: 2.242 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.664/1.664, allocations: 223.2 MB / 0.7992 GB, free: 14.77 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.001041/0.001041, allocations: 88.34 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 10.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3091, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.5081, allocations: 152.2 MB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5084, allocations: 75.95 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.48/1.989, allocations: 348.9 MB / 1.719 GB, free: 2.988 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.414e-06/1.989, allocations: 0 / 1.719 GB, free: 2.988 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.752e-05/1.989, allocations: 4 kB / 1.719 GB, free: 2.984 MB / 0.9948 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.002591/1.991, allocations: 0.6024 MB / 1.719 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/1.991, allocations: 12.56 kB / 1.719 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/1.992, allocations: 27.62 kB / 1.719 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/1.992, allocations: 390.4 kB / 1.72 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/1.992, allocations: 0 / 1.72 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/1.992, allocations: 11.98 kB / 1.72 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/1.993, allocations: 97.08 kB / 1.72 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.993, allocations: 0 / 1.72 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/1.993, allocations: 11.94 kB / 1.72 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.993, allocations: 0 / 1.72 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/1.993, allocations: 67.86 kB / 1.72 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/1.993, allocations: 336.2 kB / 1.72 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/1.994, allocations: 106.3 kB / 1.72 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/1.994, allocations: 0 / 1.72 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.994, allocations: 46.61 kB / 1.72 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/1.994, allocations: 0 / 1.72 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4): time 0.0004263/1.994, allocations: 181.1 kB / 1.72 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/1.994, allocations: 132.5 kB / 1.721 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/1.995, allocations: 437.2 kB / 1.721 GB, free: 356 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/1.995, allocations: 29.7 kB / 1.721 GB, free: 320 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.995, allocations: 160.1 kB / 1.721 GB, free: 156 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/1.995, allocations: 23.73 kB / 1.721 GB, free: 132 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.995, allocations: 3.938 kB / 1.721 GB, free: 128 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.995, allocations: 338.8 kB / 1.722 GB, free: 15.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/1.995, allocations: 37.06 kB / 1.722 GB, free: 15.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/1.995, allocations: 94.81 kB / 1.722 GB, free: 15.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.598e-05/1.995, allocations: 43.95 kB / 1.722 GB, free: 15.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.995, allocations: 0 / 1.722 GB, free: 15.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002471/1.996, allocations: 145.2 kB / 1.722 GB, free: 15.44 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.996, allocations: 12.03 kB / 1.722 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.996, allocations: 0 / 1.722 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.996, allocations: 0 / 1.722 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.996, allocations: 15.98 kB / 1.722 GB, free: 15.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.996, allocations: 4 kB / 1.722 GB, free: 15.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/1.996, allocations: 8.609 kB / 1.722 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.996, allocations: 3.984 kB / 1.722 GB, free: 15.4 MB / 1.01 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 (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.000245/1.996, allocations: 173.8 kB / 1.722 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/1.996, allocations: 31.62 kB / 1.722 GB, free: 15.19 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/1.997, allocations: 191.6 kB / 1.722 GB, free: 15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.997, allocations: 0 / 1.722 GB, free: 15 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.997, allocations: 3.938 kB / 1.722 GB, free: 14.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.997, allocations: 4 kB / 1.722 GB, free: 14.99 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/1.997, allocations: 305.3 kB / 1.723 GB, free: 14.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.997, allocations: 128 / 1.723 GB, free: 14.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/1.997, allocations: 23.92 kB / 1.723 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.997, allocations: 0 / 1.723 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.997, allocations: 8 kB / 1.723 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/1.997, allocations: 0 / 1.723 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.997, allocations: 0 / 1.723 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/1.998, allocations: 224.8 kB / 1.723 GB, free: 14.34 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/1.998, allocations: 136.6 kB / 1.723 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/1.998, allocations: 3.953 kB / 1.723 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.998, allocations: 8 kB / 1.723 GB, free: 14.18 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/1.998, allocations: 7.984 kB / 1.723 GB, free: 14.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.998, allocations: 4 kB / 1.723 GB, free: 14.17 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004638/1.999, allocations: 363.1 kB / 1.723 GB, free: 13.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.999, allocations: 0 / 1.723 GB, free: 13.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002954/1.999, allocations: 51.98 kB / 1.723 GB, free: 13.77 MB / 1.01 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 (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.0002249/1.999, allocations: 124.1 kB / 1.723 GB, free: 13.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002048/1.999, allocations: 87.84 kB / 1.724 GB, free: 13.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.999, allocations: 0 / 1.724 GB, free: 13.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/2, allocations: 55.89 kB / 1.724 GB, free: 13.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/2, allocations: 62.05 kB / 1.724 GB, free: 13.44 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/2.001, allocations: 0.6667 MB / 1.724 GB, free: 12.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/2.002, allocations: 0.8223 MB / 1.725 GB, free: 11.88 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001995/2.002, allocations: 58.25 kB / 1.725 GB, free: 11.83 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/2.002, allocations: 19.44 kB / 1.725 GB, free: 11.81 MB / 1.01 GB Notification: Performance of SimCode: time 4.11e-07/2.002, allocations: 0 / 1.725 GB, free: 11.81 MB / 1.01 GB Notification: Performance of Templates: time 0.008316/2.01, allocations: 3.525 MB / 1.729 GB, free: 8.34 MB / 1.01 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