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.001133/0.001133, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001683/0.001683, allocations: 161 kB / 23.82 MB, free: 0.75 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.9566/0.9566, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.813/1.813, allocations: 359 MB / 0.6052 GB, free: 10.99 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.913e-06/1.913e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.301e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002069/0.002102, allocations: 0.5664 MB / 0.7876 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.003997, allocations: 1.319 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.004027, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.004161, allocations: 9.406 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.004225, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.005039, allocations: 295.8 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.005199, allocations: 75.86 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.005242, allocations: 4 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.005324, allocations: 47.89 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.005449, allocations: 51.88 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.005472, allocations: 4 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.005881, allocations: 211.5 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.005916, allocations: 11.92 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.005972, allocations: 27.92 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.006405, allocations: 288.2 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.006408, allocations: 0 / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.006409, allocations: 0 / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.006413, allocations: 4.531 kB / 0.7899 GB, free: 9.617 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.0004729/0.006886, allocations: 470.4 kB / 0.7904 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.006927, allocations: 8.031 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.007019, allocations: 132.6 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.00717, allocations: 241.4 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.007244, allocations: 242.8 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.00738, allocations: 246.8 kB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.00745, allocations: 149.4 kB / 0.7913 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.007481, allocations: 120 kB / 0.7914 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.007546, allocations: 242.5 kB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.007616, allocations: 243.2 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.00768, allocations: 246.4 kB / 0.7921 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.008002, allocations: 0.5882 MB / 0.7927 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.008103, allocations: 265.4 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.008144, allocations: 131.5 kB / 0.7931 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.008178, allocations: 123.1 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.008232, allocations: 154 kB / 0.7934 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.008233, allocations: 0 / 0.7934 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.912e-05/0.008332, allocations: 41.64 kB / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.008389, allocations: 176.1 kB / 0.7936 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.008558, allocations: 208.3 kB / 0.7938 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.008581, allocations: 25.7 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.008648, allocations: 138.9 kB / 0.7939 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.008651, allocations: 2.062 kB / 0.7939 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.008729, allocations: 47.34 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.00888, allocations: 0.4884 MB / 0.7944 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.008991, allocations: 65.67 kB / 0.7945 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.009081, allocations: 69.61 kB / 0.7946 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.971e-05/0.009181, allocations: 69.38 kB / 0.7946 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009183, allocations: 0.5625 kB / 0.7946 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004796/0.009662, allocations: 211.5 kB / 0.7948 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.009705, allocations: 45.69 kB / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.00971, allocations: 0 / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.009726, allocations: 0 / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-06/0.009731, allocations: 3.938 kB / 0.7949 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.009736, allocations: 0 / 0.7949 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.009908, allocations: 23.88 kB / 0.7949 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.009948, allocations: 17.72 kB / 0.7949 GB, free: 4.227 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 0.0001232/0.01007, allocations: 283.7 kB / 0.7952 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.01015, allocations: 156.8 kB / 0.7954 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.01021, allocations: 156.3 kB / 0.7955 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.207e-05/0.01028, allocations: 268.5 kB / 0.7958 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-05/0.01035, allocations: 272.6 kB / 0.796 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.16e-05/0.01042, allocations: 264.1 kB / 0.7963 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.01064, allocations: 0.5053 MB / 0.7968 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-05/0.01069, allocations: 153.1 kB / 0.7969 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.01073, allocations: 152.8 kB / 0.7971 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.056e-05/0.0108, allocations: 268.1 kB / 0.7973 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.01088, allocations: 274.2 kB / 0.7976 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.9e-05/0.01096, allocations: 268.1 kB / 0.7978 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-05/0.01103, allocations: 268.1 kB / 0.7981 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01119, allocations: 455.8 kB / 0.7985 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.01124, allocations: 156.8 kB / 0.7987 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.01133, allocations: 268.1 kB / 0.7989 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.01142, allocations: 150 kB / 0.7991 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.0115, allocations: 272 kB / 0.7993 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.01154, allocations: 144.9 kB / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.0116, allocations: 144 kB / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0116, allocations: 0 / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002269/0.01182, allocations: 72.27 kB / 0.7997 GB, free: 15.18 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.0007299/0.01255, allocations: 481 kB / 0.8001 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.01272, allocations: 156.7 kB / 0.8003 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01272, allocations: 1.125 kB / 0.8003 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.01273, allocations: 4 kB / 0.8003 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01302, allocations: 0.7073 MB / 0.801 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.01326, allocations: 268.4 kB / 0.8012 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.01329, allocations: 51.36 kB / 0.8013 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.223e-05/0.01334, allocations: 61.42 kB / 0.8013 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.01336, allocations: 12.5 kB / 0.8013 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.01336, allocations: 0 / 0.8013 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.004024/0.01738, allocations: 2.875 MB / 0.8042 GB, free: 10.66 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: 5.091897658072412]