Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005407/0.005407, allocations: 101.1 kB / 15.73 MB, free: 6.008 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.001329/0.001329, allocations: 192.7 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.311/1.311, 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 11.1.0-maint.11.x/package.mo): time 2.527/2.527, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7548/0.756, allocations: 159.1 MB / 1.221 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002476/0.7584, allocations: 1.586 MB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.7597, allocations: 0.9199 MB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.7598, allocations: 4 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.76, allocations: 63.64 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.7604, allocations: 155.3 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.375e-05/0.7605, allocations: 8 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.7609, allocations: 358.3 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.7609, allocations: 36.73 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.7611, allocations: 143.4 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.7613, allocations: 139.3 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.7614, allocations: 19.94 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.7644, allocations: 0.5551 MB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.7645, allocations: 59.77 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.7646, allocations: 127.2 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.778, allocations: 13.24 MB / 1.238 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.778, allocations: 0 / 1.238 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.603e-06/0.778, allocations: 0 / 1.238 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.778, allocations: 0 / 1.238 GB, free: 0.6992 MB / 0.9512 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.001378/0.7793, allocations: 0.6633 MB / 1.238 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7794, allocations: 8.031 kB / 1.238 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.7795, allocations: 32.75 kB / 1.238 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.7799, allocations: 382.5 kB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7799, allocations: 8.375 kB / 1.239 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.7799, allocations: 4.375 kB / 1.239 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.7801, allocations: 103.3 kB / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.7801, allocations: 0 / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7801, allocations: 4 kB / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7801, allocations: 0 / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.7802, allocations: 67.86 kB / 1.239 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.7806, allocations: 344 kB / 1.239 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7807, allocations: 106.4 kB / 1.239 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.7808, allocations: 59.45 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.7808, allocations: 4 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7808, allocations: 42.44 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7808, allocations: 4 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003378/0.7812, allocations: 185.2 kB / 1.24 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.7812, allocations: 133 kB / 1.24 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.7818, allocations: 0.5014 MB / 1.24 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7818, allocations: 33.69 kB / 1.24 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.782, allocations: 164.4 kB / 1.24 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.782, allocations: 3.953 kB / 1.24 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.7821, allocations: 53.64 kB / 1.24 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7823, allocations: 346.8 kB / 1.241 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.7824, allocations: 95.92 kB / 1.241 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.7826, allocations: 170.6 kB / 1.241 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.7829, allocations: 231.3 kB / 1.241 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7829, allocations: 0 / 1.241 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.7832, allocations: 297.2 kB / 1.241 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.7833, allocations: 4 kB / 1.241 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.7833, allocations: 8 kB / 1.241 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7833, allocations: 0 / 1.241 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.7834, allocations: 15.98 kB / 1.241 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.7834, allocations: 4 kB / 1.241 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.7836, allocations: 19.88 kB / 1.242 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.7836, allocations: 15.92 kB / 1.242 GB, free: 12.31 MB / 0.9669 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.0001598/0.7838, allocations: 178.2 kB / 1.242 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.7838, allocations: 35.77 kB / 1.242 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.7841, allocations: 191.9 kB / 1.242 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.7842, allocations: 4 kB / 1.242 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7842, allocations: 0 / 1.242 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7842, allocations: 0 / 1.242 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.7844, allocations: 293.4 kB / 1.242 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7844, allocations: 0 / 1.242 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.7845, allocations: 19.92 kB / 1.242 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7845, allocations: 4 kB / 1.242 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.7845, allocations: 4.125 kB / 1.242 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7845, allocations: 3.984 kB / 1.242 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.7845, allocations: 8 kB / 1.242 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.7848, allocations: 195.3 kB / 1.242 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.7849, allocations: 140.8 kB / 1.243 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.7849, allocations: 4 kB / 1.243 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.7851, allocations: 15.98 kB / 1.243 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.7851, allocations: 7.938 kB / 1.243 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.7851, allocations: 0 / 1.243 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004225/0.7855, allocations: 379 kB / 1.243 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7856, allocations: 0 / 1.243 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000492/0.786, allocations: 99.94 kB / 1.243 GB, free: 10.65 MB / 0.9669 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.004331/0.7904, allocations: 2.815 MB / 1.246 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.7907, allocations: 163.8 kB / 1.246 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7907, allocations: 0 / 1.246 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.805e-05/0.7908, allocations: 51.89 kB / 1.246 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.7911, allocations: 47.89 kB / 1.246 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.7921, allocations: 0.605 MB / 1.247 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.7924, allocations: 0.8143 MB / 1.247 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.7925, allocations: 50.28 kB / 1.247 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.7926, allocations: 23.42 kB / 1.247 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.7926, allocations: 0 / 1.247 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of Templates: time 0.01135/0.804, allocations: 7.62 MB / 1.255 GB, free: 14.42 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches