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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001649/0.001649, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 65.06 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3527, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002838/0.3556, allocations: 1.656 MB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.357, allocations: 0.8958 MB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.3571, allocations: 7.938 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3573, allocations: 59.77 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.3578, allocations: 139.5 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.238e-05/0.3578, allocations: 8 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.3582, allocations: 354.3 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.497e-05/0.3583, allocations: 40.75 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3585, allocations: 123.4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3586, allocations: 143.2 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3587, allocations: 12 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.3621, allocations: 0.6603 MB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.3622, allocations: 51.7 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3624, allocations: 131.2 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.3802, allocations: 13.28 MB / 1.085 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3803, allocations: 0 / 1.085 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3803, allocations: 0 / 1.085 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3803, allocations: 0 / 1.085 GB, free: 9.219 MB / 0.8419 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.001835/0.3822, allocations: 0.6537 MB / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.3822, allocations: 8.031 kB / 1.085 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.3823, allocations: 32.56 kB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.3828, allocations: 374.2 kB / 1.086 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.3829, allocations: 8.375 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3829, allocations: 4.375 kB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3831, allocations: 109.3 kB / 1.086 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3831, allocations: 0 / 1.086 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3831, allocations: 0 / 1.086 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3831, allocations: 3.938 kB / 1.086 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3833, allocations: 71.86 kB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.3837, allocations: 352.1 kB / 1.086 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3838, allocations: 102.4 kB / 1.086 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.3839, allocations: 67.39 kB / 1.086 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.384, allocations: 3.984 kB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.384, allocations: 46.44 kB / 1.086 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.384, allocations: 0 / 1.086 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000373/0.3844, allocations: 185.1 kB / 1.087 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.3845, allocations: 132.5 kB / 1.087 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.3851, allocations: 0.5019 MB / 1.087 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3851, allocations: 29.7 kB / 1.087 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3853, allocations: 160.3 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3853, allocations: 15.84 kB / 1.087 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.3854, allocations: 49.59 kB / 1.087 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3856, allocations: 342.8 kB / 1.088 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3857, allocations: 115.8 kB / 1.088 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.386, allocations: 192.8 kB / 1.088 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.3863, allocations: 263.2 kB / 1.088 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3863, allocations: 0 / 1.088 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004678/0.3868, allocations: 329.1 kB / 1.089 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3869, allocations: 7.938 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3869, allocations: 4 kB / 1.089 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3869, allocations: 3.984 kB / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.387, allocations: 19.98 kB / 1.089 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.387, allocations: 7.938 kB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3872, allocations: 19.83 kB / 1.089 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3873, allocations: 11.94 kB / 1.089 GB, free: 4.73 MB / 0.8419 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.000251/0.3875, allocations: 175.5 kB / 1.089 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3876, allocations: 35.56 kB / 1.089 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.3879, allocations: 187.9 kB / 1.089 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3879, allocations: 4 kB / 1.089 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3879, allocations: 0 / 1.089 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3879, allocations: 3.984 kB / 1.089 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.3882, allocations: 293.4 kB / 1.089 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3883, allocations: 0 / 1.089 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.3883, allocations: 12 kB / 1.089 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3884, allocations: 7.938 kB / 1.089 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3884, allocations: 0 / 1.089 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3884, allocations: 12.11 kB / 1.089 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3884, allocations: 3.938 kB / 1.089 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3887, allocations: 179.2 kB / 1.09 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.3889, allocations: 136.6 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3889, allocations: 8 kB / 1.09 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3891, allocations: 15.97 kB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.3891, allocations: 4 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.3891, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004116/0.3896, allocations: 387 kB / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3896, allocations: 3.938 kB / 1.09 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005028/0.3901, allocations: 100 kB / 1.09 GB, free: 3.082 MB / 0.8419 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.004921/0.395, allocations: 2.815 MB / 1.093 GB, free: 260 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.3954, allocations: 191.8 kB / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3954, allocations: 0 / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.3955, allocations: 44.09 kB / 1.093 GB, free: 24 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3959, allocations: 53.53 kB / 1.093 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3972, allocations: 0.6638 MB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.3977, allocations: 0.8146 MB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.3979, allocations: 46.28 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.398, allocations: 19.44 kB / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.398, allocations: 0 / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of Templates: time 0.01351/0.4115, allocations: 7.706 MB / 1.102 GB, free: 6.699 MB / 0.8575 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