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.001011/0.001012, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001061/0.001061, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.338/1.338, allocations: 222.9 MB / 241.1 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.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.12 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6991, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002658/0.7018, allocations: 1.586 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.7032, allocations: 0.919 MB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.7033, allocations: 3.938 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.7035, allocations: 63.66 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.704, allocations: 151.3 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.595e-05/0.7041, allocations: 7.984 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.7045, allocations: 362.3 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.7046, allocations: 44.75 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.7048, allocations: 143.4 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.705, allocations: 139.3 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.7051, allocations: 16 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.7084, allocations: 0.5668 MB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.7085, allocations: 51.77 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.7086, allocations: 139.1 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.7238, allocations: 13.23 MB / 1.184 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7238, allocations: 7.875 kB / 1.184 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7238, allocations: 0 / 1.184 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7238, allocations: 0 / 1.184 GB, free: 2.445 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.001371/0.7252, allocations: 0.6652 MB / 1.185 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7252, allocations: 12.91 kB / 1.185 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.7253, allocations: 36.75 kB / 1.185 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.7258, allocations: 374.6 kB / 1.185 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7258, allocations: 4.375 kB / 1.185 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.7258, allocations: 8.375 kB / 1.185 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.726, allocations: 101.4 kB / 1.185 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.726, allocations: 7.922 kB / 1.185 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.726, allocations: 0 / 1.185 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.726, allocations: 4 kB / 1.185 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.7261, allocations: 67.88 kB / 1.186 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.7265, allocations: 340.1 kB / 1.186 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.7266, allocations: 110.4 kB / 1.186 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.7267, allocations: 59.47 kB / 1.186 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.7267, allocations: 0 / 1.186 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.7268, allocations: 50.42 kB / 1.186 GB, free: 412 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7268, allocations: 0 / 1.186 GB, free: 412 kB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003316/0.7271, allocations: 181.3 kB / 1.186 GB, free: 224 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.7272, allocations: 132.5 kB / 1.186 GB, free: 60 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.7278, allocations: 0.5058 MB / 1.187 GB, free: 15.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.7278, allocations: 33.7 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.7279, allocations: 160.3 kB / 1.187 GB, free: 15.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.7279, allocations: 11.91 kB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.728, allocations: 45.69 kB / 1.187 GB, free: 15.28 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7282, allocations: 346.8 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.7283, allocations: 99.91 kB / 1.188 GB, free: 14.83 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.7285, allocations: 157 kB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.7288, allocations: 235.2 kB / 1.188 GB, free: 14.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7288, allocations: 4 kB / 1.188 GB, free: 14.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004146/0.7292, allocations: 293.2 kB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.7292, allocations: 7.938 kB / 1.188 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.7293, allocations: 4 kB / 1.188 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7293, allocations: 3.938 kB / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.7294, allocations: 19.98 kB / 1.188 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7294, allocations: 4 kB / 1.188 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.7296, allocations: 27.86 kB / 1.188 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.7296, allocations: 4 kB / 1.188 GB, free: 14.05 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.0001623/0.7298, allocations: 181.7 kB / 1.188 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.7298, allocations: 35.75 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.7302, allocations: 183.6 kB / 1.189 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7302, allocations: 0 / 1.189 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7302, allocations: 4 kB / 1.189 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.7303, allocations: 132.8 kB / 1.189 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.7304, allocations: 4 kB / 1.189 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.7305, allocations: 11.98 kB / 1.189 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.7306, allocations: 11.92 kB / 1.189 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003052/0.7309, allocations: 438.7 kB / 1.189 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003255/0.7312, allocations: 0.5356 MB / 1.19 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.054e-05/0.7313, allocations: 39.97 kB / 1.19 GB, free: 12.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003894/0.7317, allocations: 387 kB / 1.19 GB, free: 12.05 MB / 0.92 GB Notification: Performance of Backend: time 5.71e-07/0.7317, allocations: 0 / 1.19 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005121/0.7368, allocations: 2.921 MB / 1.193 GB, free: 9.125 MB / 0.92 GB Notification: Performance of SimCode: time 0.00113/0.738, allocations: 1.03 MB / 1.194 GB, free: 8.039 MB / 0.92 GB Notification: Performance of Templates: time 0.01169/0.7497, allocations: 7.383 MB / 1.201 GB, free: 0.6836 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches