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.001246/0.001246, 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.001752/0.001752, 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.9296/0.9296, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.869/1.869, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.433e-06/1.433e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.724e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001133/0.00115, allocations: 0.5644 MB / 0.8121 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002371, allocations: 1.315 MB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.002388, allocations: 4 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.27e-05/0.002441, allocations: 7.875 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.002465, allocations: 1.531 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.002994, allocations: 296.7 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.692e-05/0.003091, allocations: 77.39 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.421e-05/0.003115, allocations: 8 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.003158, allocations: 43.89 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.003211, allocations: 47.94 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.003222, allocations: 0 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.003481, allocations: 230 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.003499, allocations: 7.938 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.003531, allocations: 23.92 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.003823, allocations: 287.2 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003825, allocations: 0 / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003825, allocations: 3.938 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.484e-06/0.003828, allocations: 0 / 0.8144 GB, free: 14.85 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.0002827/0.00411, allocations: 474.2 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.27e-05/0.004133, allocations: 8.75 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.00419, allocations: 136.1 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.004278, allocations: 236.3 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.004337, allocations: 244.4 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.004404, allocations: 242.8 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.649e-05/0.00445, allocations: 153.5 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.004479, allocations: 119.4 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.004535, allocations: 242.5 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/0.004589, allocations: 238.9 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.004652, allocations: 246.9 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.004881, allocations: 0.5876 MB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.004955, allocations: 262.2 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.004989, allocations: 130.8 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.00502, allocations: 124.3 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.005065, allocations: 156.5 kB / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 4.31e-07/0.005065, allocations: 0 / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.076e-05/0.005116, allocations: 43.02 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.005166, allocations: 178.5 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.005268, allocations: 200.9 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.005283, allocations: 31.45 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.005335, allocations: 138.9 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.005337, allocations: 0 / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.005388, allocations: 51.34 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005503, allocations: 0.4884 MB / 0.8189 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.005573, allocations: 66.36 kB / 0.819 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.005627, allocations: 61.67 kB / 0.819 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.005687, allocations: 74.38 kB / 0.8191 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.005688, allocations: 0 / 0.8191 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002181/0.005906, allocations: 214.1 kB / 0.8193 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.005934, allocations: 37.69 kB / 0.8193 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.005936, allocations: 0 / 0.8193 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.005942, allocations: 4.844 kB / 0.8193 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.005945, allocations: 3.938 kB / 0.8193 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.005949, allocations: 3.984 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.006054, allocations: 18.16 kB / 0.8194 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.006078, allocations: 15.98 kB / 0.8194 GB, free: 9.461 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 9.393e-05/0.006172, allocations: 287.7 kB / 0.8196 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.006221, allocations: 152.8 kB / 0.8198 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.006271, allocations: 156.3 kB / 0.8199 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.871e-05/0.00634, allocations: 274.7 kB / 0.8202 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.023e-05/0.0064, allocations: 272 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-05/0.006466, allocations: 268.1 kB / 0.8207 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.006662, allocations: 0.5037 MB / 0.8212 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/0.006705, allocations: 157.1 kB / 0.8214 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.006744, allocations: 152.8 kB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.849e-05/0.006812, allocations: 264.1 kB / 0.8218 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.00688, allocations: 269.7 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-05/0.006937, allocations: 268 kB / 0.8223 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.793e-05/0.006995, allocations: 268.1 kB / 0.8225 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.007123, allocations: 455.9 kB / 0.823 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.007158, allocations: 149.5 kB / 0.8231 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.007217, allocations: 272 kB / 0.8234 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.007269, allocations: 145.5 kB / 0.8235 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.007335, allocations: 284.5 kB / 0.8238 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.007368, allocations: 144.9 kB / 0.8239 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.007417, allocations: 139.7 kB / 0.824 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007417, allocations: 1.375 kB / 0.824 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002295/0.007647, allocations: 67.8 kB / 0.8241 GB, free: 4.418 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.0005566/0.008203, allocations: 482.5 kB / 0.8246 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.008334, allocations: 156.7 kB / 0.8247 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008335, allocations: 0 / 0.8247 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.008336, allocations: 1.125 kB / 0.8247 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.008604, allocations: 0.7114 MB / 0.8254 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.008779, allocations: 257.4 kB / 0.8257 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.658e-05/0.008806, allocations: 56.36 kB / 0.8257 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.008848, allocations: 55.8 kB / 0.8258 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-06/0.008857, allocations: 9.219 kB / 0.8258 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of SimCode: time 4e-07/0.008857, allocations: 0 / 0.8258 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of Templates: time 0.003823/0.01268, allocations: 3.243 MB / 0.8289 GB, free: 15.54 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.082069732714444]