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.0009771/0.0009771, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00105/0.00105, allocations: 173 kB / 23.5 MB, free: 1.055 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.9552/0.9552, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.05/2.05, allocations: 429.5 MB / 0.6736 GB, free: 3.855 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.292e-06/1.292e-06, allocations: 0 / 0.8782 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.529e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001273/0.001298, allocations: 0.584 MB / 0.8787 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.002552, allocations: 1.313 MB / 0.88 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.002573, allocations: 4 kB / 0.88 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.002631, allocations: 0 / 0.88 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.00266, allocations: 8.688 kB / 0.88 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.003261, allocations: 293.3 kB / 0.8803 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.64e-05/0.003357, allocations: 77.47 kB / 0.8804 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.411e-05/0.003382, allocations: 7.984 kB / 0.8804 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.003432, allocations: 43.91 kB / 0.8804 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.003484, allocations: 43.88 kB / 0.8805 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.003496, allocations: 4 kB / 0.8805 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.003798, allocations: 221.7 kB / 0.8807 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.003825, allocations: 7.938 kB / 0.8807 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.003867, allocations: 31.91 kB / 0.8807 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.004164, allocations: 283.2 kB / 0.881 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004165, allocations: 0 / 0.881 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004166, allocations: 2.375 kB / 0.881 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.004169, allocations: 0 / 0.881 GB, free: 2.641 MB / 0.7917 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.0002948/0.004464, allocations: 477.6 kB / 0.8815 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.342e-05/0.004487, allocations: 8.031 kB / 0.8815 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.004548, allocations: 128.1 kB / 0.8816 GB, free: 2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.004682, allocations: 251.7 kB / 0.8818 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.004744, allocations: 242.8 kB / 0.8821 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.00482, allocations: 247.5 kB / 0.8823 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.821e-05/0.004878, allocations: 145.5 kB / 0.8824 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.004905, allocations: 125 kB / 0.8825 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.004961, allocations: 242.5 kB / 0.8828 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.005012, allocations: 238.4 kB / 0.883 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.005068, allocations: 242.3 kB / 0.8832 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.005335, allocations: 0.5966 MB / 0.8838 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.005417, allocations: 265.4 kB / 0.8841 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.005452, allocations: 126.9 kB / 0.8842 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.005477, allocations: 123.2 kB / 0.8843 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.005521, allocations: 160.5 kB / 0.8845 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.005522, allocations: 0 / 0.8845 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.728e-05/0.00559, allocations: 33.69 kB / 0.8845 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.005639, allocations: 178.5 kB / 0.8847 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.006156, allocations: 200.8 kB / 0.8849 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.006177, allocations: 29.7 kB / 0.8849 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.006238, allocations: 142.8 kB / 0.885 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.006241, allocations: 0 / 0.885 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.006294, allocations: 51.34 kB / 0.8851 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.006414, allocations: 0.4884 MB / 0.8856 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.006486, allocations: 65.67 kB / 0.8856 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.00654, allocations: 65.67 kB / 0.8857 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.006616, allocations: 77.38 kB / 0.8857 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006619, allocations: 4 kB / 0.8858 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002574/0.006876, allocations: 205 kB / 0.8859 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.006907, allocations: 37.69 kB / 0.886 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.00691, allocations: 0 / 0.886 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006923, allocations: 3.938 kB / 0.886 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.006925, allocations: 3.938 kB / 0.886 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.00693, allocations: 4 kB / 0.886 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.007048, allocations: 16 kB / 0.886 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.007077, allocations: 23.98 kB / 0.886 GB, free: 13.23 MB / 0.8073 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.355e-05/0.00717, allocations: 275.8 kB / 0.8863 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.007217, allocations: 156.8 kB / 0.8864 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.007261, allocations: 160.3 kB / 0.8866 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-05/0.007326, allocations: 268 kB / 0.8869 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/0.00739, allocations: 268 kB / 0.8871 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.522e-05/0.007445, allocations: 268.1 kB / 0.8874 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.007623, allocations: 0.4998 MB / 0.8879 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-05/0.007667, allocations: 153.1 kB / 0.888 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.007703, allocations: 160.8 kB / 0.8882 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-05/0.007759, allocations: 264.1 kB / 0.8884 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.007829, allocations: 268.1 kB / 0.8887 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-05/0.007894, allocations: 272 kB / 0.8889 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.079e-05/0.007955, allocations: 268.1 kB / 0.8892 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008086, allocations: 451.9 kB / 0.8896 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.008126, allocations: 148.9 kB / 0.8897 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.008197, allocations: 276 kB / 0.89 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.00825, allocations: 144.9 kB / 0.8902 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.008316, allocations: 272 kB / 0.8904 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.008346, allocations: 148.9 kB / 0.8906 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.008399, allocations: 147.2 kB / 0.8907 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008399, allocations: 0 / 0.8907 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002611/0.00866, allocations: 79.62 kB / 0.8908 GB, free: 8.176 MB / 0.8073 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.0006849/0.009345, allocations: 476 kB / 0.8912 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.009516, allocations: 160.7 kB / 0.8914 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009518, allocations: 0 / 0.8914 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.00952, allocations: 3.938 kB / 0.8914 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.009991, allocations: 0.7023 MB / 0.8921 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.01026, allocations: 269.2 kB / 0.8923 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.01029, allocations: 59.34 kB / 0.8924 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.66e-05/0.01035, allocations: 55.88 kB / 0.8924 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.01037, allocations: 8.5 kB / 0.8924 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.01037, allocations: 0 / 0.8924 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.004428/0.01479, allocations: 2.851 MB / 0.8952 GB, free: 3.648 MB / 0.8073 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.267975372029468]