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.0009679/0.0009679, 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.001441/0.001441, allocations: 169 kB / 23.02 MB, free: 1.547 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.9734/0.9734, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.077/2.077, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.153e-05, allocations: 3.297 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.002088/0.00212, allocations: 0.5686 MB / 0.8787 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.00396, allocations: 1.323 MB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.003991, allocations: 0.6562 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.004121, allocations: 11.86 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.004181, allocations: 1.891 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.004995, allocations: 286.3 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.005161, allocations: 83.8 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.005205, allocations: 0 / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.005288, allocations: 57.25 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.005381, allocations: 39.95 kB / 0.8805 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.005404, allocations: 4 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.005855, allocations: 219.5 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.005893, allocations: 12.98 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.005949, allocations: 27.92 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.006413, allocations: 283.5 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.00642, allocations: 7.406 kB / 0.881 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.913e-06/0.006422, allocations: 0 / 0.881 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.006428, allocations: 0 / 0.881 GB, free: 3.449 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.0004865/0.006914, allocations: 469.3 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.006962, allocations: 12.03 kB / 0.8815 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.171e-05/0.007054, allocations: 128.1 kB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.007374, allocations: 247.7 kB / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.007448, allocations: 242.8 kB / 0.882 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.007539, allocations: 246.8 kB / 0.8823 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.641e-05/0.007615, allocations: 153.4 kB / 0.8824 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.007649, allocations: 119.4 kB / 0.8825 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.007717, allocations: 242.5 kB / 0.8828 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.007784, allocations: 242.4 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.007848, allocations: 238.4 kB / 0.8832 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.00819, allocations: 0.5914 MB / 0.8838 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.008298, allocations: 273.4 kB / 0.8841 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.008338, allocations: 126.9 kB / 0.8842 GB, free: 44 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.008386, allocations: 119.2 kB / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.008439, allocations: 152.6 kB / 0.8844 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.00844, allocations: 4 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001/0.00854, allocations: 33.7 kB / 0.8845 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.0086, allocations: 174.5 kB / 0.8846 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.008767, allocations: 201.8 kB / 0.8848 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.00879, allocations: 33.7 kB / 0.8849 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.00886, allocations: 142.8 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.008862, allocations: 3.938 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.008939, allocations: 43.36 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.009079, allocations: 0.4923 MB / 0.8855 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.009198, allocations: 69.67 kB / 0.8856 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/0.009281, allocations: 65.67 kB / 0.8857 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/0.009381, allocations: 73.41 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.009384, allocations: 0 / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003625/0.009746, allocations: 205 kB / 0.8859 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.009791, allocations: 44.19 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009796, allocations: 0 / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.009813, allocations: 0 / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-06/0.00982, allocations: 3.938 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.009825, allocations: 3.938 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.01, allocations: 19.94 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.01004, allocations: 12 kB / 0.886 GB, free: 14.05 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.0001291/0.01017, allocations: 295.7 kB / 0.8863 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.01024, allocations: 152.8 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.0103, allocations: 152.4 kB / 0.8866 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/0.01037, allocations: 272 kB / 0.8868 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.754e-05/0.01044, allocations: 272 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-05/0.01051, allocations: 268 kB / 0.8874 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.01072, allocations: 0.4999 MB / 0.8878 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/0.01076, allocations: 149.1 kB / 0.888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.0108, allocations: 152.8 kB / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.537e-05/0.01088, allocations: 272.1 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.756e-05/0.01096, allocations: 280 kB / 0.8887 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002094/0.01117, allocations: 264.1 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-05/0.01123, allocations: 272.1 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.01139, allocations: 447.9 kB / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.01144, allocations: 164.8 kB / 0.8898 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.01152, allocations: 264.1 kB / 0.89 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.0116, allocations: 152.8 kB / 0.8902 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.01168, allocations: 268 kB / 0.8904 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.01172, allocations: 144.9 kB / 0.8905 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.01179, allocations: 150.7 kB / 0.8907 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01179, allocations: 0 / 0.8907 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004139/0.01221, allocations: 71.8 kB / 0.8908 GB, free: 8.992 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.0009253/0.01313, allocations: 479.9 kB / 0.8912 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.01336, allocations: 152.8 kB / 0.8914 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01337, allocations: 0 / 0.8914 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.01337, allocations: 0 / 0.8914 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.01378, allocations: 0.7023 MB / 0.892 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.01412, allocations: 267.5 kB / 0.8923 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.01416, allocations: 59.34 kB / 0.8924 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.71e-05/0.01424, allocations: 59.8 kB / 0.8924 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.01426, allocations: 12.5 kB / 0.8924 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.01426, allocations: 4.062 kB / 0.8924 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of Templates: time 0.005829/0.02009, allocations: 2.853 MB / 0.8952 GB, free: 4.453 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.533427387010306]