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.0007923/0.0007923, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000881/0.000881, allocations: 173 kB / 23.03 MB, free: 1.543 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.9128/0.9128, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.076/2.076, allocations: 429.4 MB / 0.6732 GB, free: 4.055 MB / 0.6355 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.754e-06/1.754e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.847e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.00187/0.001898, allocations: 0.5673 MB / 0.8787 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.003614, allocations: 1.318 MB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.003639, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.00375, allocations: 17.19 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.003803, allocations: 4.875 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.00458, allocations: 289.4 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004738, allocations: 75.88 kB / 0.8804 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.004774, allocations: 0 / 0.8804 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.00485, allocations: 55.88 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.004935, allocations: 41.3 kB / 0.8805 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.004958, allocations: 4 kB / 0.8805 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.005403, allocations: 223.5 kB / 0.8807 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.005435, allocations: 7.938 kB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.005488, allocations: 31.06 kB / 0.8807 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.005923, allocations: 287.5 kB / 0.881 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.005928, allocations: 0 / 0.881 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005929, allocations: 0 / 0.881 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.005935, allocations: 0 / 0.881 GB, free: 3.465 MB / 0.8386 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.0004944/0.006429, allocations: 469.3 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.006469, allocations: 12.03 kB / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.006566, allocations: 128.1 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.006732, allocations: 244.3 kB / 0.8818 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.006883, allocations: 242.8 kB / 0.882 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.006976, allocations: 256.1 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.297e-05/0.007049, allocations: 145.5 kB / 0.8824 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.007083, allocations: 119.4 kB / 0.8825 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.007151, allocations: 246.5 kB / 0.8828 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/0.007218, allocations: 246.3 kB / 0.883 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.007285, allocations: 238.4 kB / 0.8832 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.007735, allocations: 0.5837 MB / 0.8838 GB, free: 484 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.007832, allocations: 269.4 kB / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.007874, allocations: 126.9 kB / 0.8842 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.007922, allocations: 119.2 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.007976, allocations: 156.5 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.007978, allocations: 4 kB / 0.8845 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 9.315e-05/0.008071, allocations: 33.7 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.008135, allocations: 174.5 kB / 0.8846 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.008295, allocations: 205.8 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.008317, allocations: 29.7 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.008385, allocations: 142.8 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-06/0.008388, allocations: 0 / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.008464, allocations: 55.34 kB / 0.8851 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.008598, allocations: 0.4884 MB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.008707, allocations: 65.67 kB / 0.8856 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.00879, allocations: 65.67 kB / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.008888, allocations: 73.38 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00889, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003449/0.009235, allocations: 209.1 kB / 0.8859 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.009278, allocations: 41.69 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.009285, allocations: 3.984 kB / 0.886 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.009298, allocations: 3.938 kB / 0.886 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-06/0.009304, allocations: 3.938 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.009309, allocations: 0 / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.00948, allocations: 19.94 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.009516, allocations: 12 kB / 0.886 GB, free: 14.06 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 (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.0001253/0.009641, allocations: 291.7 kB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.009713, allocations: 156.8 kB / 0.8864 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.00977, allocations: 152.4 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-05/0.009843, allocations: 272 kB / 0.8868 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.186e-05/0.009915, allocations: 276 kB / 0.8871 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003507/0.01027, allocations: 264.1 kB / 0.8874 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.01051, allocations: 0.5037 MB / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.01055, allocations: 149.1 kB / 0.888 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.0106, allocations: 152.8 kB / 0.8881 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.01067, allocations: 268.1 kB / 0.8884 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/0.01076, allocations: 268.1 kB / 0.8887 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-05/0.01083, allocations: 268 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-05/0.01091, allocations: 268.1 kB / 0.8892 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01107, allocations: 459.9 kB / 0.8896 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.01112, allocations: 156.8 kB / 0.8898 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.0112, allocations: 268.1 kB / 0.89 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.01128, allocations: 144.9 kB / 0.8901 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.01136, allocations: 276 kB / 0.8904 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.01139, allocations: 144.9 kB / 0.8905 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.66e-05/0.01147, allocations: 146.2 kB / 0.8907 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01147, allocations: 0 / 0.8907 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004133/0.01188, allocations: 71.73 kB / 0.8908 GB, free: 9.012 MB / 0.8542 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.001001/0.01288, allocations: 491.3 kB / 0.8912 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.01311, allocations: 152.7 kB / 0.8914 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01311, allocations: 0 / 0.8914 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-06/0.01312, allocations: 7.938 kB / 0.8914 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.01352, allocations: 0.7023 MB / 0.8921 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.01385, allocations: 261.4 kB / 0.8923 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01389, allocations: 55.34 kB / 0.8924 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.7e-05/0.01397, allocations: 55.81 kB / 0.8924 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.01399, allocations: 20.48 kB / 0.8924 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01399, allocations: 0 / 0.8924 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of Templates: time 0.005965/0.01996, allocations: 3.226 MB / 0.8956 GB, free: 4.094 MB / 0.8542 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.364543081261218]