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.000805/0.000805, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001586/0.001586, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9032/0.9032, allocations: 177.1 MB / 203.5 MB, free: 5.688 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 1.787/1.787, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",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.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.233e-05, allocations: 4.953 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001429/0.001461, allocations: 0.5403 MB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.003569, allocations: 1.278 MB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.00361, allocations: 4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.003768, allocations: 3.984 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.003844, allocations: 3.938 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.004637, allocations: 299.1 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.00478, allocations: 75.81 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.004828, allocations: 7.984 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.004897, allocations: 43.91 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.004976, allocations: 43.94 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.004992, allocations: 0 / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.005298, allocations: 231.5 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.005334, allocations: 7.938 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.00538, allocations: 27.91 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.005711, allocations: 283.4 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005715, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005717, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.005722, allocations: 0 / 1.004 GB, free: 10.18 MB / 0.9636 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.0003973/0.006119, allocations: 367.4 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.006163, allocations: 9.344 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.006241, allocations: 88.17 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.00637, allocations: 197 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.006417, allocations: 162.9 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.006471, allocations: 154.9 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.962e-05/0.006531, allocations: 109.5 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.006553, allocations: 75.47 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.006601, allocations: 158.7 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.00664, allocations: 150.6 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.006681, allocations: 150.6 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.00691, allocations: 425.5 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.006981, allocations: 165.1 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.007007, allocations: 80.14 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.007032, allocations: 83.27 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.007072, allocations: 113.9 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.007073, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.871e-05/0.007152, allocations: 45.59 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.007201, allocations: 130.6 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.007338, allocations: 141.7 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.007357, allocations: 33.69 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.007406, allocations: 88.14 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.007408, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.007461, allocations: 41.69 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.007548, allocations: 318.8 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.007651, allocations: 101.6 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.007737, allocations: 101.6 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/0.007835, allocations: 98.52 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007837, allocations: 0 / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003101/0.008148, allocations: 272.8 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.00819, allocations: 37.69 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008196, allocations: 0 / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.008209, allocations: 4 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.008211, allocations: 3.938 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.008217, allocations: 3.984 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.008448, allocations: 27.94 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.008479, allocations: 19.98 kB / 1.007 GB, free: 6.078 MB / 0.9636 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.731e-05/0.008576, allocations: 193.1 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.008625, allocations: 108.9 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.008665, allocations: 120.4 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/0.008713, allocations: 176.3 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/0.008761, allocations: 188.1 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.425e-05/0.008806, allocations: 176.3 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.008951, allocations: 364.8 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/0.008978, allocations: 104.9 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.009007, allocations: 121 kB / 1.009 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.751e-05/0.009055, allocations: 180.2 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.009101, allocations: 176.3 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/0.009412, allocations: 180.3 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-05/0.009453, allocations: 180.2 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.009572, allocations: 323.6 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.009606, allocations: 101 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.009667, allocations: 180.3 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.009719, allocations: 104.9 kB / 1.01 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.009768, allocations: 188.2 kB / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.009794, allocations: 112.9 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.00985, allocations: 110.3 kB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00985, allocations: 0 / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002452/0.0101, allocations: 71.73 kB / 1.011 GB, free: 2.504 MB / 0.9636 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.0006251/0.01072, allocations: 416.3 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.01092, allocations: 189 kB / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01093, allocations: 0 / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.01093, allocations: 0 / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01118, allocations: 463.6 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.01148, allocations: 257.6 kB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.88e-05/0.01153, allocations: 63.34 kB / 1.012 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.01154, allocations: 12.56 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.01155, allocations: 0 / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of Templates: time 0.003265/0.01481, allocations: 2.39 MB / 1.014 GB, free: 14.74 MB / 0.9792 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.387972896918654]