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.002475/0.002475, allocations: 85.48 kB / 19.44 MB, free: 344 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.002995/0.002995, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.658/1.658, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.36/3.36, allocations: 429.4 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.893e-06/1.893e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.932e-05, allocations: 3.656 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.002507/0.002537, allocations: 0.5754 MB / 0.878 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.005468, allocations: 1.294 MB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.005497, allocations: 0 / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.005632, allocations: 9.047 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.005685, allocations: 0.875 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.006944, allocations: 296.9 kB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.007169, allocations: 76.59 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.007218, allocations: 3.984 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.007328, allocations: 45.44 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.007458, allocations: 43.94 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.007501, allocations: 7.938 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/0.008143, allocations: 223.5 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.00819, allocations: 8.469 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.008276, allocations: 29.34 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.00898, allocations: 287.2 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.008987, allocations: 4 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/0.008988, allocations: 0 / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.008994, allocations: 0.5938 kB / 0.8802 GB, free: 3.812 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.0007441/0.009738, allocations: 469.3 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.009786, allocations: 12.78 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.009948, allocations: 128.1 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.01022, allocations: 244.9 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.01038, allocations: 242.8 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.01056, allocations: 246.8 kB / 0.8815 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.01068, allocations: 146.8 kB / 0.8817 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.01077, allocations: 119.4 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.01092, allocations: 246.4 kB / 0.882 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.01107, allocations: 249.8 kB / 0.8823 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.01123, allocations: 238.4 kB / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.01183, allocations: 0.5953 MB / 0.8831 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.01204, allocations: 265.4 kB / 0.8833 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.01214, allocations: 126.9 kB / 0.8834 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.01222, allocations: 127.1 kB / 0.8836 GB, free: 296 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.01234, allocations: 156.6 kB / 0.8837 GB, free: 128 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.422e-06/0.01235, allocations: 0 / 0.8837 GB, free: 128 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001551/0.0125, allocations: 33.7 kB / 0.8837 GB, free: 88 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.01265, allocations: 175.6 kB / 0.8839 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.01294, allocations: 212.7 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.01298, allocations: 29.7 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.01312, allocations: 144 kB / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.01312, allocations: 0 / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.01326, allocations: 51.34 kB / 0.8843 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003235/0.01358, allocations: 0.4923 MB / 0.8848 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.01376, allocations: 73.66 kB / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.01392, allocations: 73.59 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.01409, allocations: 73.38 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0141, allocations: 0 / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006314/0.01473, allocations: 229 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.527e-05/0.01479, allocations: 41.69 kB / 0.8853 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.0148, allocations: 4.062 kB / 0.8853 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01482, allocations: 0 / 0.8853 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-06/0.01482, allocations: 3.938 kB / 0.8853 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01483, allocations: 0 / 0.8853 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.01513, allocations: 27.94 kB / 0.8853 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.01518, allocations: 15.98 kB / 0.8853 GB, free: 14.36 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.0002497/0.01543, allocations: 279.8 kB / 0.8856 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.01559, allocations: 156.8 kB / 0.8857 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.01571, allocations: 160.3 kB / 0.8859 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001665/0.01587, allocations: 268 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001835/0.01606, allocations: 268 kB / 0.8864 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000326/0.01638, allocations: 268.1 kB / 0.8867 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.01684, allocations: 0.4998 MB / 0.8871 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000105/0.01694, allocations: 153.1 kB / 0.8873 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01706, allocations: 160.8 kB / 0.8874 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.01724, allocations: 268.1 kB / 0.8877 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.01741, allocations: 268 kB / 0.888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000168/0.01758, allocations: 268.1 kB / 0.8882 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001689/0.01775, allocations: 268.1 kB / 0.8885 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.01811, allocations: 455.9 kB / 0.8889 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.01822, allocations: 148.8 kB / 0.889 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.0184, allocations: 272.1 kB / 0.8893 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.01856, allocations: 144.9 kB / 0.8894 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.01873, allocations: 276 kB / 0.8897 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.01883, allocations: 148.9 kB / 0.8899 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001577/0.01899, allocations: 147.2 kB / 0.89 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01899, allocations: 0 / 0.89 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005861/0.01957, allocations: 79.62 kB / 0.8901 GB, free: 9.305 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.001888/0.02146, allocations: 465.7 kB / 0.8905 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.02186, allocations: 184.7 kB / 0.8907 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.02187, allocations: 4 kB / 0.8907 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-06/0.02187, allocations: 0 / 0.8907 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.02266, allocations: 0.7062 MB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.02319, allocations: 269.4 kB / 0.8916 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.02329, allocations: 67.2 kB / 0.8917 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.0234, allocations: 55.81 kB / 0.8918 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.02343, allocations: 12.5 kB / 0.8918 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.02343, allocations: 0 / 0.8918 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.009825/0.03325, allocations: 2.858 MB / 0.8946 GB, free: 4.734 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","/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: 8.5670943739824]