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.0012/0.0012, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001211/0.001211, allocations: 187 kB / 17.34 MB, free: 5.719 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.11 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.369/2.369, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8821/0.8836, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002631/0.8863, allocations: 1.59 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.8877, allocations: 0.9162 MB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.8878, allocations: 6.031 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.8881, allocations: 55.28 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.8886, allocations: 168.2 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-05/0.8887, allocations: 3.703 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.8891, allocations: 374.8 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.8892, allocations: 46.03 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.8895, allocations: 146.2 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.8897, allocations: 145.1 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.8898, allocations: 14.97 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-05/0.8898, allocations: 15.72 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.8899, allocations: 47.59 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.8901, allocations: 134.4 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.8904, allocations: 288.1 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8905, allocations: 0 / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8905, allocations: 1.344 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.8905, allocations: 0 / 1.092 GB, free: 3.094 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.001008/0.8915, allocations: 0.6258 MB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.8915, allocations: 8.75 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.8916, allocations: 31.52 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.8921, allocations: 390.3 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.8921, allocations: 5.125 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.8922, allocations: 1.781 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.8923, allocations: 101.4 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8924, allocations: 0 / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.8924, allocations: 4.75 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8924, allocations: 2.094 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.8925, allocations: 65.88 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.8929, allocations: 354.3 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.8931, allocations: 101.8 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.8932, allocations: 66.81 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.8932, allocations: 5.438 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.8932, allocations: 40.64 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.8932, allocations: 0.625 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003905/0.8936, allocations: 193.9 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.8937, allocations: 131.4 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.8944, allocations: 0.5109 MB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.8944, allocations: 26.39 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8945, allocations: 164 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.8946, allocations: 11.36 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.8946, allocations: 29.12 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.8947, allocations: 346.4 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.8948, allocations: 34.27 kB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.8949, allocations: 57.25 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.8951, allocations: 112.9 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.8951, allocations: 0 / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002474/0.8953, allocations: 146.3 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8954, allocations: 10.11 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8954, allocations: 1.062 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.8954, allocations: 1.75 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.8955, allocations: 11.12 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.8955, allocations: 1.344 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.8957, allocations: 10.23 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.8957, allocations: 8 kB / 1.096 GB, free: 0.5117 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.000175/0.8959, allocations: 173.7 kB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.896, allocations: 39.52 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.8964, allocations: 185 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.8964, allocations: 2.25 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8964, allocations: 5.641 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8964, allocations: 1.906 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.8967, allocations: 312.7 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8967, allocations: 1.281 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.8968, allocations: 17.66 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8969, allocations: 6.781 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.8969, allocations: 1.688 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8969, allocations: 2.203 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8969, allocations: 0.7812 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.8972, allocations: 190.3 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.8974, allocations: 139.7 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.8974, allocations: 7 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.8976, allocations: 14.03 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.8976, allocations: 5.406 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8976, allocations: 7.734 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000564/0.8982, allocations: 397 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8982, allocations: 0 / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002767/0.8985, allocations: 36.97 kB / 1.097 GB, free: 15.58 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 0.0001217/0.8986, allocations: 105.6 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.8988, allocations: 84.5 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8988, allocations: 0 / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.8989, allocations: 51.62 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.8994, allocations: 66.47 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.9005, allocations: 0.6019 MB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.9009, allocations: 0.8075 MB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.901, allocations: 26.45 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.901, allocations: 1.062 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.008277/0.9093, allocations: 3.715 MB / 1.103 GB, free: 14.03 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches