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.001366/0.001366, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001578/0.001578, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 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.9398/0.9398, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.907/1.907, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.062e-06/1.062e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/1.983e-05, allocations: 9.641 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001256/0.001276, allocations: 0.5663 MB / 0.8121 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002523, allocations: 1.319 MB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.002549, allocations: 0 / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002658, allocations: 9.281 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.002708, allocations: 3.938 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.003322, allocations: 293.8 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.003447, allocations: 71.86 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.003483, allocations: 4 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.003545, allocations: 48.55 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.003615, allocations: 47.89 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.003631, allocations: 0.875 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.003958, allocations: 219.5 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.00399, allocations: 17.17 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.004033, allocations: 23.92 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.004342, allocations: 283.2 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004344, allocations: 1.875 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004345, allocations: 3.984 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004349, allocations: 0 / 0.8144 GB, free: 14.84 MB / 0.7761 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.0003648/0.004714, allocations: 473.7 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.004754, allocations: 8.031 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.004826, allocations: 133.2 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.004964, allocations: 243.7 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.005032, allocations: 242.8 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.005112, allocations: 244.3 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.599e-05/0.005178, allocations: 153.4 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.00521, allocations: 119.4 kB / 0.8159 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.005271, allocations: 246.5 kB / 0.8161 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.005331, allocations: 239.3 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.005396, allocations: 242.4 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.005686, allocations: 0.5876 MB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.005774, allocations: 266.1 kB / 0.8174 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.005811, allocations: 126.9 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.005842, allocations: 123.8 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.005891, allocations: 153.3 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.005892, allocations: 0 / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.654e-05/0.005978, allocations: 38.22 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.006031, allocations: 179.6 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.006176, allocations: 207.6 kB / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.006194, allocations: 29.64 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.006253, allocations: 139.4 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.006255, allocations: 0 / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.006344, allocations: 52.62 kB / 0.8184 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.006467, allocations: 0.4884 MB / 0.8189 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.006558, allocations: 61.67 kB / 0.819 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.006631, allocations: 66.77 kB / 0.819 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.264e-05/0.006713, allocations: 69.38 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006715, allocations: 0 / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003144/0.00703, allocations: 209.9 kB / 0.8193 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.007067, allocations: 41.69 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.007073, allocations: 5.812 kB / 0.8193 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.007089, allocations: 7.938 kB / 0.8193 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-06/0.007094, allocations: 7.875 kB / 0.8193 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007101, allocations: 3.984 kB / 0.8194 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.007245, allocations: 15.94 kB / 0.8194 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.00728, allocations: 16.8 kB / 0.8194 GB, free: 9.438 MB / 0.7761 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 (yI2[2],yI2[1],yI1[1]) * 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 0.0001066/0.007387, allocations: 289.7 kB / 0.8197 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.007451, allocations: 152.8 kB / 0.8198 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.007499, allocations: 160.3 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-05/0.00756, allocations: 264.1 kB / 0.8202 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.379e-05/0.007623, allocations: 272 kB / 0.8205 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/0.007683, allocations: 268 kB / 0.8207 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.007879, allocations: 0.4967 MB / 0.8212 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.922e-05/0.007918, allocations: 161 kB / 0.8214 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.007954, allocations: 156.3 kB / 0.8215 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.008016, allocations: 264.1 kB / 0.8218 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.008082, allocations: 272 kB / 0.822 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.164e-05/0.008143, allocations: 264.1 kB / 0.8223 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.639e-05/0.00821, allocations: 268 kB / 0.8225 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.008356, allocations: 455.9 kB / 0.823 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.0084, allocations: 152.8 kB / 0.8231 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.008469, allocations: 264.1 kB / 0.8234 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.008544, allocations: 152.8 kB / 0.8235 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.008611, allocations: 272.6 kB / 0.8238 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.008644, allocations: 145.4 kB / 0.8239 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.008706, allocations: 143.2 kB / 0.824 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008706, allocations: 5.469 kB / 0.824 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003419/0.009048, allocations: 71.73 kB / 0.8241 GB, free: 4.398 MB / 0.7761 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.0007772/0.009826, allocations: 476.8 kB / 0.8246 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.01002, allocations: 164.2 kB / 0.8247 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01002, allocations: 0 / 0.8247 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.01003, allocations: 3.938 kB / 0.8247 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.01039, allocations: 0.7159 MB / 0.8254 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.01066, allocations: 257.4 kB / 0.8257 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.01069, allocations: 59.3 kB / 0.8257 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.01075, allocations: 47.92 kB / 0.8258 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.01077, allocations: 8.5 kB / 0.8258 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01077, allocations: 4 kB / 0.8258 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of Templates: time 0.004949/0.01572, allocations: 2.861 MB / 0.8286 GB, free: 15.89 MB / 0.7917 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: 5.233635344076902]