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.001701/0.001701, allocations: 106.1 kB / 16.41 MB, free: 6.438 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.001786/0.001786, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.16 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.399/2.399, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002803/1.133, allocations: 1.575 MB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00142/1.134, allocations: 0.9204 MB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/1.134, allocations: 9.875 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/1.135, allocations: 59.81 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004906/1.135, allocations: 151 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.906e-05/1.135, allocations: 7.969 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/1.136, allocations: 378.7 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/1.136, allocations: 42.86 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/1.136, allocations: 145.6 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/1.136, allocations: 137.6 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/1.136, allocations: 15.53 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/1.136, allocations: 14.88 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8e-05/1.136, allocations: 43.55 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/1.136, allocations: 139.1 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/1.137, allocations: 287.5 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.137, allocations: 4 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/1.137, allocations: 1.469 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.137, allocations: 0 / 1.092 GB, free: 3.102 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/1.138, allocations: 0.6195 MB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.138, allocations: 9.125 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/1.138, allocations: 35.33 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/1.139, allocations: 386.2 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/1.139, allocations: 5.125 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/1.139, allocations: 1.906 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/1.139, allocations: 105.4 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/1.139, allocations: 4 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.139, allocations: 0.6875 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.139, allocations: 0.7188 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/1.139, allocations: 76 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/1.139, allocations: 353 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.14, allocations: 106.6 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/1.14, allocations: 62.16 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/1.14, allocations: 5.25 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.14, allocations: 41.48 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.14, allocations: 0 / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003835/1.14, allocations: 186.5 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.14, allocations: 134 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/1.141, allocations: 0.5112 MB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.141, allocations: 27.05 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.141, allocations: 168.5 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/1.141, allocations: 11 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/1.141, allocations: 29.33 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/1.141, allocations: 342 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/1.141, allocations: 39.39 kB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/1.141, allocations: 57.31 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/1.142, allocations: 103.9 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.142, allocations: 0 / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002367/1.142, allocations: 150.7 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.142, allocations: 8.938 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.142, allocations: 1.969 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.142, allocations: 5.562 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/1.142, allocations: 11.3 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.142, allocations: 1.547 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/1.142, allocations: 10.09 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/1.142, allocations: 7.375 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.0001656/1.142, allocations: 175.1 kB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/1.142, allocations: 34.12 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/1.143, allocations: 185.5 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.143, allocations: 1.625 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.143, allocations: 2.062 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.143, allocations: 1.203 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/1.143, allocations: 312.8 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.143, allocations: 1.656 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/1.143, allocations: 18.2 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.143, allocations: 6.078 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.143, allocations: 1.406 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.143, allocations: 6.859 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.143, allocations: 1.094 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/1.144, allocations: 189.8 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.144, allocations: 144.2 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/1.144, allocations: 10.69 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.144, allocations: 10.28 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/1.144, allocations: 5.625 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.144, allocations: 7.766 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00059/1.145, allocations: 395.4 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.145, allocations: 0.9375 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002853/1.145, allocations: 36.66 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.0001136/1.145, allocations: 102.2 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002164/1.145, allocations: 92.19 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.145, allocations: 0 / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/1.145, allocations: 46.84 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.0004085/1.146, allocations: 68.31 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.001126/1.147, allocations: 0.5949 MB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/1.147, allocations: 0.8121 MB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/1.147, allocations: 22.27 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.147, allocations: 4 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.008793/1.156, allocations: 3.72 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