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.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.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.001137/0.001137, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001782/0.001782, 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.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.441 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.441/2.441, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.000444, allocations: 12 kB / 0.8153 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8907, allocations: 142.4 MB / 0.9544 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002204/0.893, allocations: 1.27 MB / 0.9557 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.8947, allocations: 0.8388 MB / 0.9565 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.8949, allocations: 1.406 kB / 0.9565 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.8952, allocations: 53.33 kB / 0.9565 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005795/0.8958, allocations: 118.5 kB / 0.9567 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.641e-05/0.8958, allocations: 1.25 kB / 0.9567 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.8963, allocations: 326.3 kB / 0.957 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.8965, allocations: 49.44 kB / 0.957 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.8968, allocations: 123.3 kB / 0.9571 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.8971, allocations: 132.1 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.8972, allocations: 10.38 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.9004, allocations: 493.1 kB / 0.9577 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.9005, allocations: 42.95 kB / 0.9578 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.9006, allocations: 77.89 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006874/0.9013, allocations: 445.1 kB / 0.9583 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.9013, allocations: 4 kB / 0.9583 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9013, allocations: 5.312 kB / 0.9583 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.9013, allocations: 0 / 0.9583 GB, free: 5.18 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.001584/0.9029, allocations: 0.607 MB / 0.9589 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.903, allocations: 13.22 kB / 0.9589 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.9031, allocations: 34.64 kB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.9038, allocations: 359 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.9039, allocations: 2.5 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.9039, allocations: 3.719 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.9041, allocations: 97.98 kB / 0.9594 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9041, allocations: 1.062 kB / 0.9594 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.9042, allocations: 4 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.9042, allocations: 1.094 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.9043, allocations: 72.81 kB / 0.9594 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.9049, allocations: 347.5 kB / 0.9598 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.9051, allocations: 111.4 kB / 0.9599 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.9052, allocations: 60.03 kB / 0.9599 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.9052, allocations: 5.312 kB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.9052, allocations: 39.94 kB / 0.96 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.9052, allocations: 0 / 0.96 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004354/0.9057, allocations: 186.1 kB / 0.9602 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.9057, allocations: 129.9 kB / 0.9603 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.9066, allocations: 0.4993 MB / 0.9608 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.9066, allocations: 27.05 kB / 0.9608 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.9067, allocations: 156.9 kB / 0.9609 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.9068, allocations: 22.36 kB / 0.961 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.9068, allocations: 0.8438 kB / 0.961 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.9069, allocations: 347.6 kB / 0.9613 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.9071, allocations: 120.9 kB / 0.9614 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.9073, allocations: 185.2 kB / 0.9616 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.9076, allocations: 130.1 kB / 0.9617 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9076, allocations: 0 / 0.9617 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005062/0.9081, allocations: 324.4 kB / 0.962 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.9081, allocations: 9.453 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.9081, allocations: 1.219 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.9082, allocations: 1.094 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.9083, allocations: 20.52 kB / 0.9621 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.9083, allocations: 2.062 kB / 0.9621 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.9085, allocations: 25 kB / 0.9621 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.9086, allocations: 8.281 kB / 0.9621 GB, free: 2.027 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.0001639/0.9087, allocations: 183.8 kB / 0.9623 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.9088, allocations: 29.44 kB / 0.9623 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.9091, allocations: 181.1 kB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.9091, allocations: 9.844 kB / 0.9625 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.9092, allocations: 1 kB / 0.9625 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.9092, allocations: 5.141 kB / 0.9625 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.9095, allocations: 292.9 kB / 0.9628 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9095, allocations: 1.031 kB / 0.9628 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.9096, allocations: 15.38 kB / 0.9628 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.9096, allocations: 2.188 kB / 0.9628 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.9096, allocations: 2.031 kB / 0.9628 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9096, allocations: 4.797 kB / 0.9628 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9096, allocations: 1.969 kB / 0.9628 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.9099, allocations: 192.2 kB / 0.963 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.91, allocations: 138.9 kB / 0.9631 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.9101, allocations: 6.656 kB / 0.9631 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.9102, allocations: 16.92 kB / 0.9631 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.9103, allocations: 8 kB / 0.9631 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.9103, allocations: 2.219 kB / 0.9631 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004606/0.9107, allocations: 375.1 kB / 0.9635 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.51e-07/0.9108, allocations: 0 / 0.9635 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006092/0.9114, allocations: 109.2 kB / 0.9636 GB, free: 0.8945 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.000503/0.9119, allocations: 139.5 kB / 0.9637 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.9123, allocations: 195.7 kB / 0.9639 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9123, allocations: 0 / 0.9639 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.9124, allocations: 52.78 kB / 0.964 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.9128, allocations: 51.03 kB / 0.964 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.914, allocations: 0.6641 MB / 0.9647 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.9145, allocations: 0.8157 MB / 0.9655 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.9146, allocations: 46.41 kB / 0.9655 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.9147, allocations: 27.94 kB / 0.9655 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.9147, allocations: 0 / 0.9655 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.01779/0.9325, allocations: 6.422 MB / 0.9718 GB, free: 12.07 MB / 0.7325 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