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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00107/0.00107, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001381/0.001381, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003349, allocations: 12 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5866, allocations: 153.8 MB / 1.022 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001551/0.5882, allocations: 1.272 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.5893, allocations: 0.8381 MB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.5894, allocations: 11.88 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.5896, allocations: 43.78 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.59, allocations: 123.5 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.69e-05/0.5901, allocations: 7.984 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.5904, allocations: 322.3 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.101e-05/0.5905, allocations: 44.73 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.5907, allocations: 123.4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.5909, allocations: 127.4 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.5909, allocations: 16 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.5939, allocations: 499.2 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.594, allocations: 43.77 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.5941, allocations: 73.58 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.5945, allocations: 437.1 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5945, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5946, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.5946, allocations: 0 / 1.026 GB, free: 12.11 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.001106/0.5957, allocations: 0.6108 MB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5957, allocations: 12.56 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.5958, allocations: 27.62 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.5962, allocations: 365.2 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5963, allocations: 4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.5963, allocations: 8 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.5965, allocations: 105 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.5965, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5965, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5965, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.5966, allocations: 67.86 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.597, allocations: 352 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5971, allocations: 114.4 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.5972, allocations: 63.41 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5972, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.5972, allocations: 42.44 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.5972, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003247/0.5976, allocations: 181.6 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.5977, allocations: 140.5 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.5982, allocations: 0.4975 MB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.5983, allocations: 29.7 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5984, allocations: 160.3 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.5984, allocations: 11.81 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5984, allocations: 4 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5986, allocations: 342.8 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5987, allocations: 115.9 kB / 1.029 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.599, allocations: 190.7 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.5991, allocations: 123.9 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5991, allocations: 0 / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000443/0.5996, allocations: 333 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5996, allocations: 8 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5996, allocations: 7.938 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.5997, allocations: 0 / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5998, allocations: 15.98 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5998, allocations: 4 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.6, allocations: 23.83 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.6, allocations: 11.97 kB / 1.03 GB, free: 7.879 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.6002, allocations: 185.7 kB / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.6002, allocations: 31.58 kB / 1.03 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.6005, allocations: 183.6 kB / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6005, allocations: 4 kB / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6006, allocations: 0 / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6006, allocations: 0 / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.6008, allocations: 289.5 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6008, allocations: 0 / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.6009, allocations: 24.11 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6009, allocations: 4 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.601, allocations: 3.953 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.601, allocations: 4 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.601, allocations: 0 / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.6012, allocations: 191.1 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6013, allocations: 136.6 kB / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.6014, allocations: 0 / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.6015, allocations: 15.94 kB / 1.031 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.6016, allocations: 8 kB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.6016, allocations: 0 / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004333/0.602, allocations: 375 kB / 1.031 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.602, allocations: 0 / 1.031 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003846/0.6024, allocations: 108 kB / 1.032 GB, free: 6.234 MB / 0.7794 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.0003289/0.6028, allocations: 143.3 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.6031, allocations: 191.8 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6031, allocations: 0 / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.6032, allocations: 43.91 kB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.6035, allocations: 57.72 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.6045, allocations: 0.6733 MB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.6048, allocations: 0.8146 MB / 1.033 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.605, allocations: 42.3 kB / 1.033 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.605, allocations: 19.44 kB / 1.033 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6051, allocations: 0 / 1.033 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of Templates: time 0.01068/0.6157, allocations: 6.435 MB / 1.04 GB, free: 13.8 MB / 0.795 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