Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00099/0.0009901, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001023/0.001023, allocations: 172.7 kB / 15.95 MB, free: 208 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.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.689/2.689, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 8 kB / 0.8153 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8898, allocations: 142.4 MB / 0.9544 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001931/0.8917, allocations: 1.274 MB / 0.9557 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.8931, allocations: 0.8359 MB / 0.9565 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.8932, allocations: 5.062 kB / 0.9565 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.8935, allocations: 50.09 kB / 0.9565 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.8939, allocations: 116.8 kB / 0.9566 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.674e-05/0.894, allocations: 14.19 kB / 0.9567 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.8944, allocations: 323 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.8945, allocations: 48.86 kB / 0.957 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.8947, allocations: 126.5 kB / 0.9571 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.8949, allocations: 120.1 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.8949, allocations: 10.72 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.898, allocations: 0.4923 MB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.8981, allocations: 43.77 kB / 0.9578 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.8982, allocations: 68.23 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.8989, allocations: 447.3 kB / 0.9583 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8989, allocations: 3.938 kB / 0.9583 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8989, allocations: 0 / 0.9583 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.899, allocations: 1 kB / 0.9583 GB, free: 5.215 MB / 0.7169 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.001281/0.9002, allocations: 0.6059 MB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.9003, allocations: 8.875 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.422e-05/0.9004, allocations: 38.3 kB / 0.9589 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.9009, allocations: 359.9 kB / 0.9593 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.9009, allocations: 1.375 kB / 0.9593 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.901, allocations: 8.125 kB / 0.9593 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.9012, allocations: 99.06 kB / 0.9594 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.9012, allocations: 3.938 kB / 0.9594 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.9012, allocations: 0 / 0.9594 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.9012, allocations: 1.375 kB / 0.9594 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.9013, allocations: 72.83 kB / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.9017, allocations: 355.3 kB / 0.9598 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.9018, allocations: 103.5 kB / 0.9599 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.9019, allocations: 63.41 kB / 0.9599 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.902, allocations: 13.67 kB / 0.96 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.902, allocations: 36.62 kB / 0.96 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.902, allocations: 0 / 0.96 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003427/0.9024, allocations: 177 kB / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.9024, allocations: 142.9 kB / 0.9603 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.903, allocations: 0.4958 MB / 0.9608 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.9031, allocations: 31.36 kB / 0.9608 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.9032, allocations: 159.5 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.9032, allocations: 10.88 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.9032, allocations: 4 kB / 0.961 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.9033, allocations: 348.1 kB / 0.9613 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.9035, allocations: 113.6 kB / 0.9614 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.9037, allocations: 189.4 kB / 0.9616 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.9039, allocations: 121.7 kB / 0.9617 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.9039, allocations: 1 kB / 0.9617 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004651/0.9044, allocations: 328 kB / 0.962 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.9044, allocations: 5.531 kB / 0.962 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9044, allocations: 4.969 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9044, allocations: 1.812 kB / 0.962 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.9046, allocations: 20.3 kB / 0.9621 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9046, allocations: 4.969 kB / 0.9621 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.9049, allocations: 29.02 kB / 0.9621 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.9049, allocations: 8.828 kB / 0.9621 GB, free: 2.051 MB / 0.7169 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.0001951/0.9051, allocations: 175.8 kB / 0.9623 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.9051, allocations: 29.91 kB / 0.9623 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.9055, allocations: 192.3 kB / 0.9625 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.9055, allocations: 6.25 kB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9055, allocations: 1.344 kB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9055, allocations: 1.062 kB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.9058, allocations: 288.8 kB / 0.9628 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9058, allocations: 1.062 kB / 0.9628 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.9059, allocations: 16.23 kB / 0.9628 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.9059, allocations: 5.406 kB / 0.9628 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.9059, allocations: 1.188 kB / 0.9628 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9059, allocations: 2.219 kB / 0.9628 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.9059, allocations: 5.031 kB / 0.9628 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.9062, allocations: 205 kB / 0.963 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.9063, allocations: 135.1 kB / 0.9631 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.9064, allocations: 1.219 kB / 0.9631 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.9065, allocations: 9.984 kB / 0.9631 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.9066, allocations: 3.562 kB / 0.9631 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.9066, allocations: 6.234 kB / 0.9631 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004542/0.907, allocations: 383.9 kB / 0.9635 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.907, allocations: 0 / 0.9635 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006179/0.9077, allocations: 104.3 kB / 0.9636 GB, free: 0.9219 MB / 0.7169 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.0003699/0.908, allocations: 134.9 kB / 0.9637 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.9085, allocations: 192.5 kB / 0.9639 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9085, allocations: 0 / 0.9639 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-05/0.9085, allocations: 45.69 kB / 0.964 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.9089, allocations: 53.69 kB / 0.964 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.91, allocations: 0.6726 MB / 0.9647 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.9104, allocations: 0.8074 MB / 0.9654 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.9106, allocations: 50.69 kB / 0.9655 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.9107, allocations: 23.03 kB / 0.9655 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.9107, allocations: 0 / 0.9655 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.01518/0.9259, allocations: 6.427 MB / 0.9718 GB, free: 12.11 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches