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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001822/0.001822, allocations: 198.6 kB / 16.14 MB, free: 6.645 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7938, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002961/0.7968, allocations: 1.645 MB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.7982, allocations: 0.9062 MB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.7983, allocations: 1.375 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.7985, allocations: 56.94 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.799, allocations: 140.9 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.211e-05/0.799, allocations: 9.359 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.7994, allocations: 358.9 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.7995, allocations: 43.44 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.7997, allocations: 125.5 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.7999, allocations: 135.5 kB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.8, allocations: 11.06 kB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.8033, allocations: 0.6627 MB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.8034, allocations: 42.67 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.8035, allocations: 134.3 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.82, allocations: 13.29 MB / 0.966 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.82, allocations: 0 / 0.966 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.82, allocations: 1.062 kB / 0.966 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.8201, allocations: 0 / 0.966 GB, free: 11.32 MB / 0.7325 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.00269/0.8228, allocations: 0.652 MB / 0.9667 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.8229, allocations: 9.406 kB / 0.9667 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.8231, allocations: 31.09 kB / 0.9667 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.8238, allocations: 376.2 kB / 0.9671 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.8239, allocations: 7.156 kB / 0.9671 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.8239, allocations: 4.219 kB / 0.9671 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.8241, allocations: 110.4 kB / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8241, allocations: 0 / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.8242, allocations: 1 kB / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.8242, allocations: 1.031 kB / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.8243, allocations: 64.97 kB / 0.9673 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.825, allocations: 359.2 kB / 0.9676 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.8252, allocations: 107.7 kB / 0.9677 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.8253, allocations: 60.09 kB / 0.9678 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.8254, allocations: 13.23 kB / 0.9678 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8254, allocations: 39.56 kB / 0.9678 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.8254, allocations: 1.406 kB / 0.9678 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005358/0.8259, allocations: 184.6 kB / 0.968 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.826, allocations: 130.3 kB / 0.9681 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/0.827, allocations: 0.5078 MB / 0.9686 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.8271, allocations: 26.61 kB / 0.9686 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.8272, allocations: 156.2 kB / 0.9688 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.8272, allocations: 14.28 kB / 0.9688 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.8274, allocations: 54.31 kB / 0.9688 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002898/0.8277, allocations: 343.5 kB / 0.9692 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.8279, allocations: 114 kB / 0.9693 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.8282, allocations: 189.4 kB / 0.9695 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.8286, allocations: 257.8 kB / 0.9697 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8287, allocations: 0.7812 kB / 0.9697 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006672/0.8293, allocations: 333.7 kB / 0.97 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.8294, allocations: 11.59 kB / 0.97 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8294, allocations: 4 kB / 0.97 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.8294, allocations: 2.125 kB / 0.97 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.8296, allocations: 16.45 kB / 0.9701 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8296, allocations: 1.125 kB / 0.9701 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.8299, allocations: 20.98 kB / 0.9701 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.8299, allocations: 12.2 kB / 0.9701 GB, free: 7.996 MB / 0.7325 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.0002483/0.8301, allocations: 180.6 kB / 0.9703 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.8302, allocations: 37.58 kB / 0.9703 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.8307, allocations: 184.7 kB / 0.9705 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8307, allocations: 2.188 kB / 0.9705 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8307, allocations: 1.031 kB / 0.9705 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8307, allocations: 1.359 kB / 0.9705 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.8311, allocations: 292.9 kB / 0.9708 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8311, allocations: 0.9375 kB / 0.9708 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.8312, allocations: 19.41 kB / 0.9708 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.8312, allocations: 10.25 kB / 0.9708 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.8312, allocations: 1.062 kB / 0.9708 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.8312, allocations: 2.219 kB / 0.9708 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8312, allocations: 1.062 kB / 0.9708 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.8316, allocations: 189.2 kB / 0.971 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.8318, allocations: 138.2 kB / 0.9711 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.8319, allocations: 10.12 kB / 0.9711 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.8321, allocations: 13.33 kB / 0.9711 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.8321, allocations: 7.266 kB / 0.9711 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.8321, allocations: 3.219 kB / 0.9711 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005679/0.8327, allocations: 377.7 kB / 0.9715 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8327, allocations: 1.094 kB / 0.9715 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001192/0.8339, allocations: 99.34 kB / 0.9716 GB, free: 6.871 MB / 0.7325 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.006628/0.8406, allocations: 2.809 MB / 0.9743 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007052/0.8413, allocations: 192.5 kB / 0.9745 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8413, allocations: 4 kB / 0.9745 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.8414, allocations: 46.06 kB / 0.9746 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.8421, allocations: 51.31 kB / 0.9746 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.8434, allocations: 0.6627 MB / 0.9753 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.8439, allocations: 0.8149 MB / 0.9761 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.8441, allocations: 46.47 kB / 0.9761 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.8442, allocations: 19.38 kB / 0.9761 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8442, allocations: 1.281 kB / 0.9761 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.01756/0.8617, allocations: 7.697 MB / 0.9836 GB, free: 14.01 MB / 0.7481 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