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.00136/0.00136, 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.001845/0.001845, allocations: 161.4 kB / 23.81 MB, free: 0.7578 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.9386/0.9386, allocations: 177.1 MB / 204.2 MB, free: 5.414 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.76/1.76, allocations: 359 MB / 0.6052 GB, free: 11.02 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.432e-06/1.432e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.735e-05, allocations: 5.781 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001326/0.001353, allocations: 0.567 MB / 0.7876 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002593, allocations: 1.314 MB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.002621, allocations: 0.7812 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.00273, allocations: 11.86 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.002784, allocations: 2.188 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.003392, allocations: 288.2 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.0036, allocations: 75.86 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.003638, allocations: 5.344 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.003698, allocations: 47.89 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.003772, allocations: 47.88 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.003789, allocations: 6 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.004127, allocations: 219.5 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.004163, allocations: 11.92 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.004205, allocations: 19.94 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.004527, allocations: 291.2 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.00453, allocations: 0 / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004531, allocations: 2.219 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.004536, allocations: 0 / 0.7899 GB, free: 9.656 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.0003599/0.004896, allocations: 473.7 kB / 0.7904 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.004934, allocations: 8.031 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.005011, allocations: 132.1 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.005135, allocations: 239.8 kB / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.005189, allocations: 247.3 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.005253, allocations: 256.3 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.901e-05/0.005312, allocations: 153.4 kB / 0.7913 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.005337, allocations: 119.4 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.005388, allocations: 242.5 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.005439, allocations: 240.1 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.005491, allocations: 242.4 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.005718, allocations: 0.5837 MB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.005799, allocations: 265.4 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.005836, allocations: 134.9 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.005861, allocations: 124.1 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.005902, allocations: 152.6 kB / 0.7934 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.005903, allocations: 0.625 kB / 0.7934 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.125e-05/0.005974, allocations: 37.66 kB / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.006024, allocations: 176.5 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.006156, allocations: 205.7 kB / 0.7938 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.006174, allocations: 25.7 kB / 0.7938 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.006227, allocations: 142.9 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.006229, allocations: 0 / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.006282, allocations: 49.78 kB / 0.794 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.006387, allocations: 0.4923 MB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.006462, allocations: 65.67 kB / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.006515, allocations: 61.69 kB / 0.7946 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.151e-05/0.006586, allocations: 73.36 kB / 0.7946 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006589, allocations: 0 / 0.7946 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002498/0.006838, allocations: 205.7 kB / 0.7948 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.006874, allocations: 41.69 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006879, allocations: 0.5312 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.006891, allocations: 5.594 kB / 0.7949 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-06/0.006896, allocations: 7.922 kB / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.0069, allocations: 0 / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.007038, allocations: 23.88 kB / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.007064, allocations: 12 kB / 0.7949 GB, free: 4.258 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 (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.798e-05/0.007162, allocations: 288.3 kB / 0.7952 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.007213, allocations: 154.1 kB / 0.7954 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.007254, allocations: 156.3 kB / 0.7955 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/0.007305, allocations: 264.1 kB / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/0.007362, allocations: 273.2 kB / 0.796 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.609e-05/0.007418, allocations: 272 kB / 0.7963 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.007654, allocations: 0.5 MB / 0.7968 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.007686, allocations: 158.4 kB / 0.7969 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.007715, allocations: 148.9 kB / 0.7971 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-05/0.007768, allocations: 264.1 kB / 0.7973 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.007821, allocations: 276 kB / 0.7976 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.001e-05/0.007871, allocations: 269 kB / 0.7978 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.048e-05/0.007921, allocations: 268 kB / 0.7981 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.008042, allocations: 448.8 kB / 0.7985 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.008081, allocations: 160.8 kB / 0.7987 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.008139, allocations: 264.1 kB / 0.7989 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.008202, allocations: 150.1 kB / 0.7991 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.00826, allocations: 272 kB / 0.7993 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.008288, allocations: 144.9 kB / 0.7995 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.008343, allocations: 146.6 kB / 0.7996 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.008343, allocations: 0 / 0.7996 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002454/0.008588, allocations: 76.59 kB / 0.7997 GB, free: 15.22 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.0008423/0.009431, allocations: 493.3 kB / 0.8001 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.0096, allocations: 152.8 kB / 0.8003 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.009602, allocations: 0.6562 kB / 0.8003 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.009604, allocations: 0 / 0.8003 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.009887, allocations: 0.7089 MB / 0.801 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.01015, allocations: 269.3 kB / 0.8012 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.01018, allocations: 63.22 kB / 0.8013 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.01024, allocations: 47.88 kB / 0.8013 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.01025, allocations: 12.5 kB / 0.8013 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01025, allocations: 0 / 0.8013 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.004748/0.015, allocations: 3.239 MB / 0.8045 GB, free: 10.32 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.900129533838481]