Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001276/0.001276, allocations: 107.7 kB / 16.41 MB, free: 6.473 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.001173/0.001173, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.194/1.194, 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 10.1.1-maint.10.0.x/package.mo): time 2.189/2.189, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.12 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6155, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002327/0.6179, allocations: 1.596 MB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.6192, allocations: 0.9151 MB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.6193, allocations: 0 / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.6195, allocations: 63.64 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.62, allocations: 155.3 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.542e-05/0.62, allocations: 11.92 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.6204, allocations: 370.2 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.072e-05/0.6205, allocations: 48.73 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.6207, allocations: 143.3 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.6209, allocations: 143.3 kB / 1.171 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.6209, allocations: 12 kB / 1.171 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.621, allocations: 16 kB / 1.171 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.621, allocations: 51.7 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.6212, allocations: 131.3 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.6214, allocations: 283.7 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.6214, allocations: 0 / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6214, allocations: 0 / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6215, allocations: 0 / 1.171 GB, free: 120 kB / 0.8887 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.001014/0.6225, allocations: 0.6457 MB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6225, allocations: 8.922 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.6226, allocations: 28.75 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.6231, allocations: 402.5 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.6231, allocations: 8.312 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6231, allocations: 384 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.6232, allocations: 101.4 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6233, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.6233, allocations: 3.938 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.6233, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.6234, allocations: 67.86 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.6237, allocations: 360.1 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.6238, allocations: 106.3 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.6239, allocations: 63.45 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.6239, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.624, allocations: 38.5 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/0.624, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003/0.6243, allocations: 189.7 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.6243, allocations: 136.5 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.6249, allocations: 0.5093 MB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.6249, allocations: 25.7 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.625, allocations: 164.1 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.625, allocations: 19.83 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.6251, allocations: 17.72 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6252, allocations: 346.8 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.6252, allocations: 35.97 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.6253, allocations: 59.39 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.6254, allocations: 103.3 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6254, allocations: 4 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001861/0.6256, allocations: 141.5 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6256, allocations: 11.94 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6256, allocations: 4 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6257, allocations: 3.984 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.6258, allocations: 15.92 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6258, allocations: 4 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.6259, allocations: 11.94 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6259, allocations: 8.125 kB / 1.175 GB, free: 12.2 MB / 0.9044 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.0001326/0.6261, allocations: 180.8 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.6261, allocations: 35.75 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.6264, allocations: 187.7 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6264, allocations: 0 / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6264, allocations: 4 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6264, allocations: 4.125 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.6267, allocations: 309.3 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6267, allocations: 0 / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.6268, allocations: 15.98 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.6268, allocations: 11.88 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.6268, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6268, allocations: 4 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6268, allocations: 0 / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.627, allocations: 195.3 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.6272, allocations: 144.8 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.6272, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.6274, allocations: 7.984 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.6274, allocations: 7.984 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.6274, allocations: 8 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003997/0.6278, allocations: 399 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6278, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002365/0.6281, allocations: 36 kB / 1.176 GB, free: 10.58 MB / 0.9044 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.0001014/0.6282, allocations: 109.5 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.6283, allocations: 87.86 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6283, allocations: 0 / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.6284, allocations: 44.22 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.6288, allocations: 73.59 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/0.6297, allocations: 0.6092 MB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.63, allocations: 0.8143 MB / 1.178 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.6301, allocations: 19.44 kB / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.6301, allocations: 0 / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.005183/0.6353, allocations: 3.713 MB / 1.181 GB, free: 5.055 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches