Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008876/0.0008876, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009269/0.0009269, allocations: 181 kB / 24.09 MB, free: 420 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.9071/0.9071, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.795/1.795, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.253e-05, allocations: 3.156 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001075/0.001088, allocations: 0.558 MB / 0.7881 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002245, allocations: 1.315 MB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.002271, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.37e-05/0.002355, allocations: 2.5 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.002398, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.002888, allocations: 296.8 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.002996, allocations: 79.8 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.003026, allocations: 0 / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.003083, allocations: 52.48 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.003146, allocations: 39.95 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003161, allocations: 5.656 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.003415, allocations: 223.4 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.003443, allocations: 11.94 kB / 0.7901 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.003475, allocations: 27.91 kB / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.003741, allocations: 283.7 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003742, allocations: 0.5938 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003743, allocations: 0 / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.706e-06/0.003746, allocations: 0.7812 kB / 0.7904 GB, free: 9.367 MB / 0.7448 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.0003/0.004045, allocations: 469.7 kB / 0.7908 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.004079, allocations: 17.17 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.004136, allocations: 132.1 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.004237, allocations: 239.8 kB / 0.7912 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.004286, allocations: 244.1 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.004343, allocations: 246.8 kB / 0.7916 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.203e-05/0.004395, allocations: 145.5 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.00442, allocations: 119.4 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.004468, allocations: 248.3 kB / 0.7921 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.004515, allocations: 238.4 kB / 0.7924 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.004562, allocations: 238.4 kB / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.00478, allocations: 0.5764 MB / 0.7931 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.00485, allocations: 266.9 kB / 0.7934 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.004876, allocations: 134.8 kB / 0.7935 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.004899, allocations: 119.2 kB / 0.7936 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.004938, allocations: 152.6 kB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.004939, allocations: 0.5312 kB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.351e-05/0.005002, allocations: 43.53 kB / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002987/0.005301, allocations: 170.6 kB / 0.794 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.005402, allocations: 207.8 kB / 0.7942 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.005417, allocations: 25.7 kB / 0.7942 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.005465, allocations: 146.8 kB / 0.7944 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.005466, allocations: 0 / 0.7944 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.005513, allocations: 53.89 kB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.005624, allocations: 0.4884 MB / 0.7949 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.005684, allocations: 57.67 kB / 0.7949 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.005728, allocations: 61.73 kB / 0.795 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.005786, allocations: 73.36 kB / 0.7951 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.005787, allocations: 0 / 0.7951 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002031/0.00599, allocations: 205.4 kB / 0.7953 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.006019, allocations: 47.41 kB / 0.7953 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006022, allocations: 0.7188 kB / 0.7953 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006033, allocations: 4.516 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.006036, allocations: 0 / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.00604, allocations: 8.828 kB / 0.7953 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.006144, allocations: 19.94 kB / 0.7953 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.006164, allocations: 8.781 kB / 0.7953 GB, free: 4.012 MB / 0.7448 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.797e-05/0.006252, allocations: 283.8 kB / 0.7956 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.006296, allocations: 154 kB / 0.7958 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.006335, allocations: 156.3 kB / 0.7959 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/0.006383, allocations: 268 kB / 0.7962 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-05/0.006432, allocations: 276.8 kB / 0.7964 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.791e-05/0.00648, allocations: 268 kB / 0.7967 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.006632, allocations: 493.9 kB / 0.7972 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.006664, allocations: 153 kB / 0.7973 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.006696, allocations: 148.9 kB / 0.7974 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.774e-05/0.006753, allocations: 272 kB / 0.7977 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.006807, allocations: 265.2 kB / 0.798 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-05/0.006861, allocations: 268 kB / 0.7982 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.677e-05/0.006918, allocations: 272.1 kB / 0.7985 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.007035, allocations: 457.8 kB / 0.7989 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.007068, allocations: 144.9 kB / 0.7991 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.007133, allocations: 272 kB / 0.7993 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.007185, allocations: 152.9 kB / 0.7995 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.007239, allocations: 264.1 kB / 0.7997 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.007268, allocations: 151.3 kB / 0.7999 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.007315, allocations: 146.1 kB / 0.8 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.007315, allocations: 0 / 0.8 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002122/0.007527, allocations: 71.73 kB / 0.8001 GB, free: 15.01 MB / 0.7605 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.0006482/0.008175, allocations: 489.1 kB / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.008318, allocations: 144.7 kB / 0.8007 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.00832, allocations: 7.156 kB / 0.8007 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.008321, allocations: 0 / 0.8007 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.00887, allocations: 0.7108 MB / 0.8014 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.009063, allocations: 257.3 kB / 0.8016 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.732e-05/0.00909, allocations: 55.34 kB / 0.8017 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.237e-05/0.009142, allocations: 47.88 kB / 0.8017 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.009253, allocations: 115.9 kB / 0.8018 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.009254, allocations: 0 / 0.8018 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of Templates: time 0.00404/0.01329, allocations: 3.095 MB / 0.8048 GB, free: 10.16 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.764274854678661]