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.000929/0.000929, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009259/0.0009259, allocations: 169 kB / 24.28 MB, free: 276 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.9114/0.9114, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.794/1.794, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.572e-06/1.572e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.553e-05, allocations: 6.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00124/0.001266, allocations: 0.567 MB / 0.8121 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002476, allocations: 1.314 MB / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.00251, allocations: 0 / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.002616, allocations: 15.86 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.002668, allocations: 1.125 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.003218, allocations: 288.7 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.003342, allocations: 76.36 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.003381, allocations: 4.719 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.00344, allocations: 47.89 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.003505, allocations: 40.48 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.00352, allocations: 1.656 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.003799, allocations: 227.4 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.003827, allocations: 11.94 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.004008, allocations: 23.91 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.004307, allocations: 287.2 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004309, allocations: 0.5 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00431, allocations: 0.5938 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.004315, allocations: 0 / 0.8143 GB, free: 15.2 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.0003605/0.004676, allocations: 474.5 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.004711, allocations: 8.031 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.004783, allocations: 133.2 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.004909, allocations: 243.8 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.004967, allocations: 242.8 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.005029, allocations: 248.1 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.876e-05/0.005087, allocations: 153.4 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.005114, allocations: 119.4 kB / 0.8159 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.005163, allocations: 244.2 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/0.005212, allocations: 242.3 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.00526, allocations: 238.4 kB / 0.8166 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.005483, allocations: 0.5876 MB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.353e-05/0.005557, allocations: 269.4 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.005588, allocations: 133.1 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.005613, allocations: 119.2 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.005653, allocations: 160.6 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.005654, allocations: 0 / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.177e-05/0.005725, allocations: 37.66 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.005773, allocations: 174.5 kB / 0.818 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.005898, allocations: 204.5 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.005916, allocations: 29.7 kB / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.00597, allocations: 142.9 kB / 0.8184 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.005972, allocations: 0 / 0.8184 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.006022, allocations: 47.34 kB / 0.8184 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.00613, allocations: 0.4923 MB / 0.8189 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.006206, allocations: 65.67 kB / 0.8189 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.006262, allocations: 67.23 kB / 0.819 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.00633, allocations: 65.38 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006332, allocations: 0 / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002474/0.00658, allocations: 209 kB / 0.8193 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.006613, allocations: 38.19 kB / 0.8193 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006618, allocations: 5.516 kB / 0.8193 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.006631, allocations: 3.938 kB / 0.8193 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.006634, allocations: 7.938 kB / 0.8193 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.006641, allocations: 3.984 kB / 0.8193 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.006767, allocations: 22.53 kB / 0.8193 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.006795, allocations: 20 kB / 0.8194 GB, free: 9.797 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.662e-05/0.006891, allocations: 283.7 kB / 0.8196 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.006942, allocations: 152.8 kB / 0.8198 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.006982, allocations: 156.3 kB / 0.8199 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/0.007035, allocations: 268.1 kB / 0.8202 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/0.007088, allocations: 272.5 kB / 0.8204 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.228e-05/0.007141, allocations: 272 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.007301, allocations: 0.497 MB / 0.8212 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001684/0.00747, allocations: 157 kB / 0.8213 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.0075, allocations: 149.8 kB / 0.8215 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.037e-05/0.00755, allocations: 264.1 kB / 0.8217 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.007606, allocations: 268 kB / 0.822 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.274e-05/0.007658, allocations: 276.9 kB / 0.8223 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-05/0.007709, allocations: 268 kB / 0.8225 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.007829, allocations: 451.6 kB / 0.8229 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.007865, allocations: 152.8 kB / 0.8231 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.007924, allocations: 272.1 kB / 0.8233 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.007975, allocations: 148.8 kB / 0.8235 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.008034, allocations: 272 kB / 0.8238 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.008066, allocations: 144.9 kB / 0.8239 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.008117, allocations: 148.8 kB / 0.824 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008117, allocations: 0 / 0.824 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000242/0.00836, allocations: 71.73 kB / 0.8241 GB, free: 4.762 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.0006731/0.009033, allocations: 485.6 kB / 0.8246 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.009202, allocations: 148.8 kB / 0.8247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009203, allocations: 1.344 kB / 0.8247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.009205, allocations: 4 kB / 0.8247 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.009483, allocations: 0.7061 MB / 0.8254 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.009733, allocations: 264.8 kB / 0.8257 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.009769, allocations: 63.28 kB / 0.8257 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.291e-05/0.009822, allocations: 48.53 kB / 0.8258 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.009836, allocations: 8.5 kB / 0.8258 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.009836, allocations: 2.469 kB / 0.8258 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of Templates: time 0.004274/0.01411, allocations: 2.861 MB / 0.8286 GB, free: 256 kB / 0.7761 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.982190616894513]