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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.584/2.584, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.91 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.627, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002853/0.6299, allocations: 1.581 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.6312, allocations: 0.9073 MB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.6312, allocations: 4 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.6315, allocations: 71.75 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.6319, allocations: 151.3 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.39e-05/0.632, allocations: 3.984 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.6323, allocations: 362.2 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.6324, allocations: 52.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.6326, allocations: 143.4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.6328, allocations: 143.3 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.6328, allocations: 16 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.6359, allocations: 0.5668 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.636, allocations: 51.72 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.6362, allocations: 135.2 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.6509, allocations: 13.22 MB / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6509, allocations: 0 / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6509, allocations: 0 / 1.034 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.651, allocations: 4 kB / 1.034 GB, free: 1.098 MB / 0.7794 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.001341/0.6523, allocations: 0.6536 MB / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6523, allocations: 8.031 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.6524, allocations: 36.56 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.6529, allocations: 366.4 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.6529, allocations: 384 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.6529, allocations: 4.375 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.6531, allocations: 109.3 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.6531, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6531, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6532, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.6533, allocations: 71.86 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.6536, allocations: 348 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.6537, allocations: 102.4 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.6538, allocations: 67.39 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.6539, allocations: 11.92 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.6539, allocations: 34.5 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.6539, allocations: 0 / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003382/0.6542, allocations: 185.1 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.6543, allocations: 136.5 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.6549, allocations: 0.5013 MB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.6549, allocations: 29.7 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.655, allocations: 152.4 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.655, allocations: 16.3 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.6551, allocations: 49.7 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6553, allocations: 342.8 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.6554, allocations: 99.92 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.6556, allocations: 160.4 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.6559, allocations: 243.2 kB / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6559, allocations: 0 / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003857/0.6563, allocations: 293.1 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6563, allocations: 10.12 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6563, allocations: 0 / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6564, allocations: 7.938 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.6565, allocations: 15.98 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6565, allocations: 0 / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.6567, allocations: 23.83 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.6567, allocations: 7.938 kB / 1.038 GB, free: 12.74 MB / 0.795 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.0001702/0.6569, allocations: 181.8 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.657, allocations: 35.47 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.6573, allocations: 187.9 kB / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6573, allocations: 0 / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6573, allocations: 8.062 kB / 1.039 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6573, allocations: 7.984 kB / 1.039 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.6576, allocations: 293.4 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6576, allocations: 0 / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.6577, allocations: 12 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6577, allocations: 3.938 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6577, allocations: 8 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6578, allocations: 7.984 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.6578, allocations: 0 / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.658, allocations: 187.2 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.6582, allocations: 132.6 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.6582, allocations: 7.906 kB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.6584, allocations: 11.97 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.6584, allocations: 4 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.6584, allocations: 4 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004063/0.6588, allocations: 387 kB / 1.04 GB, free: 11.18 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6588, allocations: 0 / 1.04 GB, free: 11.18 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005051/0.6594, allocations: 99.94 kB / 1.04 GB, free: 11.09 MB / 0.795 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.004639/0.664, allocations: 2.811 MB / 1.042 GB, free: 8.262 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.6644, allocations: 167.8 kB / 1.043 GB, free: 8.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6644, allocations: 0 / 1.043 GB, free: 8.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.6645, allocations: 51.89 kB / 1.043 GB, free: 8.047 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.6649, allocations: 58.3 kB / 1.043 GB, free: 7.992 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.6658, allocations: 0.5881 MB / 1.043 GB, free: 7.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6662, allocations: 0.8182 MB / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000134/0.6663, allocations: 50.28 kB / 1.044 GB, free: 6.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.6664, allocations: 19.44 kB / 1.044 GB, free: 6.461 MB / 0.795 GB Notification: Performance of SimCode: time 6.51e-07/0.6664, allocations: 0 / 1.044 GB, free: 6.461 MB / 0.795 GB Notification: Performance of Templates: time 0.0116/0.678, allocations: 7.596 MB / 1.052 GB, free: 14.9 MB / 0.8106 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