Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007445/0.007445, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001752/0.001752, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 67.84 kB / 1.018 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9318, allocations: 151.6 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003068/0.935, allocations: 1.587 MB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.9363, allocations: 0.9229 MB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.9364, allocations: 3.938 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.9366, allocations: 63.67 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.9371, allocations: 147.3 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.388e-05/0.9371, allocations: 7.984 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.9375, allocations: 366.2 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.9376, allocations: 40.75 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.9378, allocations: 151.4 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.938, allocations: 139.3 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.9381, allocations: 16 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.9412, allocations: 0.5708 MB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.9413, allocations: 47.81 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.9415, allocations: 139.2 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.9549, allocations: 13.22 MB / 1.184 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.955, allocations: 0 / 1.184 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.955, allocations: 3.938 kB / 1.184 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.955, allocations: 4 kB / 1.184 GB, free: 2.52 MB / 0.9044 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.001398/0.9564, allocations: 0.6691 MB / 1.184 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.9565, allocations: 8.922 kB / 1.184 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.9565, allocations: 36.75 kB / 1.184 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.957, allocations: 378.6 kB / 1.185 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.957, allocations: 384 / 1.185 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.957, allocations: 4.375 kB / 1.185 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.9572, allocations: 105.4 kB / 1.185 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9572, allocations: 7.938 kB / 1.185 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.9572, allocations: 7.938 kB / 1.185 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.9572, allocations: 0 / 1.185 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.9574, allocations: 67.88 kB / 1.185 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.9577, allocations: 340.1 kB / 1.185 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.9578, allocations: 106.4 kB / 1.185 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.9579, allocations: 59.47 kB / 1.185 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.9579, allocations: 3.984 kB / 1.185 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.958, allocations: 50.38 kB / 1.185 GB, free: 484 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.958, allocations: 0 / 1.185 GB, free: 484 kB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003248/0.9583, allocations: 181.3 kB / 1.186 GB, free: 296 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.9584, allocations: 132.5 kB / 1.186 GB, free: 132 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.959, allocations: 0.5053 MB / 1.186 GB, free: 15.61 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.959, allocations: 29.7 kB / 1.186 GB, free: 15.58 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.9591, allocations: 156.9 kB / 1.186 GB, free: 15.42 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.9591, allocations: 19.91 kB / 1.186 GB, free: 15.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.9592, allocations: 45.69 kB / 1.186 GB, free: 15.35 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9594, allocations: 346.8 kB / 1.187 GB, free: 15 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.9595, allocations: 95.92 kB / 1.187 GB, free: 14.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.9597, allocations: 158.8 kB / 1.187 GB, free: 14.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.9601, allocations: 239.2 kB / 1.187 GB, free: 14.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9601, allocations: 0 / 1.187 GB, free: 14.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003826/0.9605, allocations: 297.2 kB / 1.187 GB, free: 14.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9605, allocations: 11.94 kB / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9605, allocations: 0 / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.9605, allocations: 0 / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.9607, allocations: 19.98 kB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9607, allocations: 3.984 kB / 1.188 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.9609, allocations: 27.88 kB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.9609, allocations: 4 kB / 1.188 GB, free: 14.12 MB / 0.92 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.0001476/0.9611, allocations: 177.8 kB / 1.188 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.9611, allocations: 35.75 kB / 1.188 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.9614, allocations: 183.6 kB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9614, allocations: 0 / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9614, allocations: 4.125 kB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.9615, allocations: 4 kB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.9617, allocations: 289.4 kB / 1.188 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9617, allocations: 4 kB / 1.188 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.9618, allocations: 19.92 kB / 1.188 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.9618, allocations: 3.938 kB / 1.188 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.9618, allocations: 8 kB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9618, allocations: 0 / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9619, allocations: 4 kB / 1.188 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.9621, allocations: 199.5 kB / 1.188 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.9623, allocations: 136.8 kB / 1.189 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.9623, allocations: 11.92 kB / 1.189 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.9625, allocations: 7.984 kB / 1.189 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.9625, allocations: 7.984 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.9625, allocations: 12 kB / 1.189 GB, free: 12.92 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004562/0.963, allocations: 375 kB / 1.189 GB, free: 12.56 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.963, allocations: 4 kB / 1.189 GB, free: 12.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004621/0.9634, allocations: 95.94 kB / 1.189 GB, free: 12.46 MB / 0.92 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.004389/0.9678, allocations: 2.811 MB / 1.192 GB, free: 9.637 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.9682, allocations: 171.8 kB / 1.192 GB, free: 9.469 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9682, allocations: 0 / 1.192 GB, free: 9.469 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.9682, allocations: 39.97 kB / 1.192 GB, free: 9.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.9686, allocations: 57.72 kB / 1.192 GB, free: 9.375 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.9694, allocations: 0.599 MB / 1.193 GB, free: 8.734 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.9698, allocations: 0.8143 MB / 1.193 GB, free: 7.895 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.9699, allocations: 45.92 kB / 1.193 GB, free: 7.848 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.97, allocations: 27.38 kB / 1.194 GB, free: 7.82 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.97, allocations: 0 / 1.194 GB, free: 7.82 MB / 0.92 GB Notification: Performance of Templates: time 0.01136/0.9813, allocations: 7.59 MB / 1.201 GB, free: 272 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches