Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007458/0.007458, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001673/0.001673, allocations: 190.6 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.84 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9281, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002254/0.9304, allocations: 1.581 MB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.9316, allocations: 0.9245 MB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.9316, allocations: 6.219 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.9319, allocations: 59.58 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.9323, allocations: 155.5 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.324e-05/0.9323, allocations: 11.03 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.9327, allocations: 367.8 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.9328, allocations: 42.52 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.933, allocations: 153.2 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.9332, allocations: 133.2 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.9332, allocations: 15.72 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.295e-05/0.9333, allocations: 14.69 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.9334, allocations: 47.44 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.9335, allocations: 139.3 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.9338, allocations: 284.4 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9338, allocations: 0 / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9338, allocations: 0 / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.9338, allocations: 4.969 kB / 1.092 GB, free: 3.137 MB / 0.8575 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.0008905/0.9347, allocations: 0.6192 MB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.9348, allocations: 9.75 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.9348, allocations: 30.94 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.9353, allocations: 393.9 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.9353, allocations: 1.859 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.9353, allocations: 2.219 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.9354, allocations: 104.5 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9354, allocations: 0 / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.9355, allocations: 1.062 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9355, allocations: 5.594 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.9356, allocations: 70.73 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.9359, allocations: 353.2 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.936, allocations: 110.4 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.9361, allocations: 58.94 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.9361, allocations: 0.6875 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.9362, allocations: 45.75 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.9362, allocations: 4 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000325/0.9365, allocations: 185.5 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.9365, allocations: 131.2 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.9372, allocations: 0.515 MB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.9372, allocations: 26.48 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.9373, allocations: 160.5 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.9373, allocations: 22.7 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.9373, allocations: 26.62 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.9374, allocations: 341.1 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.9375, allocations: 31.58 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.9376, allocations: 61.59 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.9377, allocations: 107.8 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9377, allocations: 0 / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002061/0.9379, allocations: 155.5 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9379, allocations: 8.5 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.938, allocations: 1.781 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.938, allocations: 1.891 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.9381, allocations: 15.05 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.9381, allocations: 2.062 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.9382, allocations: 9.422 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.9383, allocations: 3.141 kB / 1.095 GB, free: 0.5469 MB / 0.8575 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001334/0.9384, allocations: 174.5 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.9385, allocations: 34.5 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.9388, allocations: 186.1 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9388, allocations: 1.688 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.9388, allocations: 1.75 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9388, allocations: 1.406 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.9391, allocations: 312.5 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9391, allocations: 2.047 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.9392, allocations: 17.91 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9392, allocations: 5.719 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.9392, allocations: 5.875 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.9392, allocations: 2.5 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9392, allocations: 5.156 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.9395, allocations: 182.2 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.9396, allocations: 140.1 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.9397, allocations: 6.5 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.9398, allocations: 14.12 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.9399, allocations: 9.312 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.9399, allocations: 3.359 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005093/0.9404, allocations: 393.1 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.673e-06/0.9404, allocations: 0 / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002692/0.9407, allocations: 45.31 kB / 1.097 GB, free: 15.62 MB / 0.8731 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 8.729e-05/0.9408, allocations: 97.36 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.941, allocations: 88.5 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.941, allocations: 0 / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.941, allocations: 51.05 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.9414, allocations: 76.53 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.9424, allocations: 0.5823 MB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.9429, allocations: 0.8115 MB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.943, allocations: 52.5 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.9431, allocations: 26.77 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9431, allocations: 0 / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.008275/0.9514, allocations: 3.583 MB / 1.102 GB, free: 14.18 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches