Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001233/0.001233, allocations: 107.5 kB / 16.41 MB, free: 6.492 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.001208/0.001208, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.358/2.358, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.83 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6271/0.6284, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002259/0.6307, allocations: 1.583 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.6319, allocations: 0.9151 MB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.632, allocations: 7.938 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.6322, allocations: 55.66 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.6326, allocations: 147.3 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.207e-05/0.6326, allocations: 15.97 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.633, allocations: 369.6 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.6331, allocations: 48.73 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.6333, allocations: 143.4 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.6334, allocations: 139.3 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.6335, allocations: 16 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.6335, allocations: 16 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.6336, allocations: 51.75 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.6337, allocations: 131.2 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.6339, allocations: 284.6 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.634, allocations: 0 / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.342e-06/0.634, allocations: 0 / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.634, allocations: 3.938 kB / 1.212 GB, free: 9.715 MB / 0.9356 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.000957/0.6349, allocations: 0.6302 MB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.635, allocations: 8.031 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.635, allocations: 32.56 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.6354, allocations: 386.2 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.6355, allocations: 8.375 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.6355, allocations: 4.375 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.6356, allocations: 101.3 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6356, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6356, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6357, allocations: 4 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.7e-05/0.6357, allocations: 75.8 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.6361, allocations: 356 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.6362, allocations: 102.5 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.6363, allocations: 63.41 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6363, allocations: 7.938 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.6363, allocations: 38.48 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6363, allocations: 0 / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002845/0.6366, allocations: 185.5 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6367, allocations: 132.5 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.6372, allocations: 0.5132 MB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.6372, allocations: 25.7 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.6373, allocations: 168.1 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.6373, allocations: 11.75 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.6374, allocations: 25.7 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6375, allocations: 342.9 kB / 1.215 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.6375, allocations: 31.97 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.6376, allocations: 59.39 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.6377, allocations: 103.3 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6377, allocations: 0 / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001843/0.6379, allocations: 153.1 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6379, allocations: 7.938 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6379, allocations: 4 kB / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6379, allocations: 0 / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.6381, allocations: 11.98 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6381, allocations: 0 / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.6382, allocations: 11.98 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.6382, allocations: 4.125 kB / 1.216 GB, free: 5.84 MB / 0.9356 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.0001489/0.6384, allocations: 177.8 kB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.6384, allocations: 31.56 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.6387, allocations: 187.6 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6387, allocations: 4 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6387, allocations: 4.062 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6387, allocations: 4 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.639, allocations: 313.4 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.639, allocations: 4 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.6391, allocations: 23.88 kB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6391, allocations: 3.938 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6391, allocations: 4.094 kB / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6391, allocations: 0 / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6391, allocations: 0 / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.6393, allocations: 199.1 kB / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6394, allocations: 136.6 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.6395, allocations: 7.984 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.6396, allocations: 11.98 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.6397, allocations: 4 kB / 1.217 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6397, allocations: 4 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003795/0.6401, allocations: 403 kB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6401, allocations: 0 / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000234/0.6403, allocations: 36 kB / 1.217 GB, free: 4.199 MB / 0.9356 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.412e-05/0.6404, allocations: 95.25 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.6405, allocations: 87.86 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6406, allocations: 0 / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.6406, allocations: 52.22 kB / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.641, allocations: 65.41 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.6418, allocations: 0.6046 MB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.6421, allocations: 0.8104 MB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.6422, allocations: 23.42 kB / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.6422, allocations: 0 / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.004805/0.647, allocations: 3.713 MB / 1.222 GB, free: 14.7 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches