Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 81.86 kB / 20.68 MB, free: 3.812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9392/0.9392, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.846/1.846, allocations: 377.9 MB / 0.6239 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.812 GB, free: 348 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.621e-05, allocations: 4.281 kB / 0.812 GB, free: 344 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00113/0.001146, allocations: 0.5644 MB / 0.8125 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.002282, allocations: 1.308 MB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.002307, allocations: 2.125 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.811e-05/0.002395, allocations: 15.84 kB / 0.8138 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.002438, allocations: 0.7812 kB / 0.8138 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.002921, allocations: 294.3 kB / 0.8141 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.003027, allocations: 75.88 kB / 0.8142 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.998e-05/0.003057, allocations: 0 / 0.8142 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.003115, allocations: 55.88 kB / 0.8142 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.003174, allocations: 41.27 kB / 0.8143 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.003191, allocations: 4 kB / 0.8143 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.003434, allocations: 223.5 kB / 0.8145 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.003462, allocations: 9.688 kB / 0.8145 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.003493, allocations: 27.91 kB / 0.8145 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.00375, allocations: 291.1 kB / 0.8148 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003752, allocations: 0 / 0.8148 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003753, allocations: 0 / 0.8148 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.003756, allocations: 1.188 kB / 0.8148 GB, free: 13.46 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000315/0.004071, allocations: 473.7 kB / 0.8153 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.004104, allocations: 12.03 kB / 0.8153 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.004164, allocations: 133.7 kB / 0.8154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.004268, allocations: 243.8 kB / 0.8156 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.004323, allocations: 238.8 kB / 0.8159 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.004383, allocations: 246.8 kB / 0.8161 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.672e-05/0.004439, allocations: 155.9 kB / 0.8162 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.004468, allocations: 123.4 kB / 0.8164 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.004523, allocations: 250.5 kB / 0.8166 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.004572, allocations: 238.4 kB / 0.8168 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.004625, allocations: 238.4 kB / 0.8171 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.00485, allocations: 0.5725 MB / 0.8176 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.004927, allocations: 265.4 kB / 0.8179 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.004956, allocations: 131.6 kB / 0.818 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.004981, allocations: 119.2 kB / 0.8181 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.005022, allocations: 153.1 kB / 0.8182 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.005023, allocations: 1.656 kB / 0.8183 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.006e-05/0.005083, allocations: 37.66 kB / 0.8183 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.005128, allocations: 170.6 kB / 0.8184 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.005234, allocations: 212.2 kB / 0.8187 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.005248, allocations: 25.7 kB / 0.8187 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.005299, allocations: 151.3 kB / 0.8188 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.005301, allocations: 0.5312 kB / 0.8188 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.005347, allocations: 44.2 kB / 0.8189 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.005455, allocations: 0.4923 MB / 0.8193 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.005512, allocations: 61.67 kB / 0.8194 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.00556, allocations: 58.83 kB / 0.8195 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.005617, allocations: 65.38 kB / 0.8195 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.005618, allocations: 0 / 0.8195 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002104/0.005829, allocations: 205.5 kB / 0.8197 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.005856, allocations: 42.72 kB / 0.8198 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.00586, allocations: 0 / 0.8198 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.00587, allocations: 0 / 0.8198 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-06/0.005874, allocations: 4.844 kB / 0.8198 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005877, allocations: 3.938 kB / 0.8198 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.005983, allocations: 24.72 kB / 0.8198 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.006005, allocations: 12 kB / 0.8198 GB, free: 8.109 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.959e-05/0.006095, allocations: 289.8 kB / 0.8201 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.006141, allocations: 152.8 kB / 0.8202 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.006184, allocations: 148.4 kB / 0.8204 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.135e-05/0.006235, allocations: 272 kB / 0.8206 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/0.00629, allocations: 276 kB / 0.8209 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.379e-05/0.006344, allocations: 278.6 kB / 0.8212 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.006495, allocations: 480.6 kB / 0.8216 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/0.006528, allocations: 157 kB / 0.8218 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.006561, allocations: 148.9 kB / 0.8219 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.763e-05/0.006619, allocations: 268.1 kB / 0.8222 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.006675, allocations: 272 kB / 0.8224 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.865e-05/0.006733, allocations: 264.1 kB / 0.8227 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/0.006788, allocations: 273.6 kB / 0.8229 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.006908, allocations: 455.9 kB / 0.8234 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.006947, allocations: 148.8 kB / 0.8235 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.007008, allocations: 264.1 kB / 0.8238 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.007063, allocations: 160.8 kB / 0.8239 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.007119, allocations: 264.6 kB / 0.8242 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.007149, allocations: 145.4 kB / 0.8243 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.007191, allocations: 137 kB / 0.8244 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007191, allocations: 0 / 0.8244 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000219/0.00741, allocations: 75.67 kB / 0.8245 GB, free: 3.102 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000585/0.007995, allocations: 492.6 kB / 0.825 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.008128, allocations: 144.7 kB / 0.8251 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.008129, allocations: 4.969 kB / 0.8251 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.00813, allocations: 0 / 0.8251 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.008407, allocations: 0.7163 MB / 0.8258 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.0086, allocations: 254.5 kB / 0.8261 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.539e-05/0.008625, allocations: 51.36 kB / 0.8261 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.008681, allocations: 59.73 kB / 0.8262 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.008789, allocations: 116.3 kB / 0.8263 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.00879, allocations: 0 / 0.8263 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of Templates: time 0.003803/0.01259, allocations: 3.098 MB / 0.8293 GB, free: 14.25 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.922511428128928]