Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001116/0.001116, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.0009449/0.0009449, allocations: 165 kB / 23.27 MB, free: 1.219 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.9991/0.9991, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.53/2.53, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_12.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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_12.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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.041e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001233/0.001253, allocations: 0.5782 MB / 0.8903 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.002472, allocations: 1.298 MB / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.002488, allocations: 0 / 0.8916 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.683e-05/0.002545, allocations: 11.88 kB / 0.8916 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.92e-05/0.002574, allocations: 4 kB / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.003026, allocations: 295.1 kB / 0.8919 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.003118, allocations: 71.86 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.167e-05/0.003139, allocations: 8 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.003193, allocations: 51.89 kB / 0.892 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.003251, allocations: 51.88 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.003264, allocations: 0 / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.003514, allocations: 215.5 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.003536, allocations: 15.94 kB / 0.8923 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.003566, allocations: 19.92 kB / 0.8923 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007501/0.004316, allocations: 295.1 kB / 0.8926 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004318, allocations: 0 / 0.8926 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004319, allocations: 0 / 0.8926 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.004322, allocations: 0 / 0.8926 GB, free: 6.895 MB / 0.8542 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.0002732/0.004595, allocations: 473.3 kB / 0.893 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.004624, allocations: 12.62 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.004684, allocations: 136.1 kB / 0.8931 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004787, allocations: 243.7 kB / 0.8934 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.004846, allocations: 242.8 kB / 0.8936 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.004922, allocations: 242.8 kB / 0.8938 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.324e-05/0.004975, allocations: 161.3 kB / 0.894 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.005005, allocations: 119.4 kB / 0.8941 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.005058, allocations: 242.5 kB / 0.8943 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.00511, allocations: 238.4 kB / 0.8946 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.005169, allocations: 246.4 kB / 0.8948 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.00539, allocations: 0.5648 MB / 0.8954 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.005471, allocations: 273.4 kB / 0.8956 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.005502, allocations: 126.9 kB / 0.8957 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.005531, allocations: 119.2 kB / 0.8958 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.005574, allocations: 156.6 kB / 0.896 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.005574, allocations: 0 / 0.896 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.62e-05/0.00562, allocations: 33.66 kB / 0.896 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.005662, allocations: 182.5 kB / 0.8962 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.005754, allocations: 205.7 kB / 0.8964 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.005768, allocations: 33.7 kB / 0.8964 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.00581, allocations: 130.9 kB / 0.8966 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.005811, allocations: 4 kB / 0.8966 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.005861, allocations: 55.33 kB / 0.8966 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005967, allocations: 0.4884 MB / 0.8971 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.006021, allocations: 61.67 kB / 0.8971 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.006066, allocations: 61.67 kB / 0.8972 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.006117, allocations: 65.38 kB / 0.8973 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006118, allocations: 0 / 0.8973 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001843/0.006302, allocations: 201 kB / 0.8975 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.006331, allocations: 48.12 kB / 0.8975 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.006333, allocations: 0 / 0.8975 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.279e-06/0.006339, allocations: 64 / 0.8975 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-06/0.006341, allocations: 8 kB / 0.8975 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.006344, allocations: 3.938 kB / 0.8975 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.006436, allocations: 15.92 kB / 0.8975 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.006455, allocations: 15.98 kB / 0.8975 GB, free: 1.523 MB / 0.8542 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.945e-05/0.006545, allocations: 279.7 kB / 0.8978 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.006595, allocations: 160.9 kB / 0.898 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.006644, allocations: 160.3 kB / 0.8981 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-05/0.006703, allocations: 264.1 kB / 0.8984 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-05/0.006759, allocations: 264.1 kB / 0.8986 GB, free: 384 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.576e-05/0.006825, allocations: 280 kB / 0.8989 GB, free: 96 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.007004, allocations: 492.5 kB / 0.8994 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-05/0.007043, allocations: 156.8 kB / 0.8995 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.007077, allocations: 144.9 kB / 0.8997 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.007432, allocations: 264.1 kB / 0.8999 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.007492, allocations: 272 kB / 0.9002 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.763e-05/0.00755, allocations: 268.1 kB / 0.9004 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.739e-05/0.007607, allocations: 268 kB / 0.9007 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.007723, allocations: 455.9 kB / 0.9011 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.007771, allocations: 156.8 kB / 0.9013 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.007832, allocations: 264.1 kB / 0.9015 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.007885, allocations: 152.8 kB / 0.9017 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.007941, allocations: 268.1 kB / 0.9019 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.007972, allocations: 148.8 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.008016, allocations: 147.1 kB / 0.9022 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008016, allocations: 0 / 0.9022 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002208/0.008237, allocations: 71.73 kB / 0.9023 GB, free: 12.5 MB / 0.8698 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.0006014/0.008838, allocations: 484.7 kB / 0.9027 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.008963, allocations: 144.8 kB / 0.9029 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.008965, allocations: 0 / 0.9029 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.008966, allocations: 0 / 0.9029 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.009231, allocations: 0.7062 MB / 0.9036 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.009429, allocations: 265.4 kB / 0.9038 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.00946, allocations: 63.28 kB / 0.9039 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.567e-05/0.009506, allocations: 51.81 kB / 0.9039 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.009609, allocations: 114.1 kB / 0.904 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.009609, allocations: 0 / 0.904 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of Templates: time 0.004149/0.01376, allocations: 3.082 MB / 0.907 GB, free: 7.641 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_12_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.651911714114249]