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.001362/0.001362, allocations: 92.7 kB / 19.44 MB, free: 324 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.001547/0.001547, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.272/3.272, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.553e-06/1.553e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.357e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001737/0.001761, allocations: 0.5645 MB / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.003899, allocations: 1.293 MB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.003919, allocations: 0 / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.556e-05/0.004005, allocations: 0 / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.004046, allocations: 0.9844 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000856/0.004902, allocations: 294.6 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.00506, allocations: 75.81 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.005093, allocations: 7.984 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.00518, allocations: 45.03 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.005283, allocations: 47.89 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.00532, allocations: 0 / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.005777, allocations: 220.5 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.005805, allocations: 11.94 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.005867, allocations: 29.56 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.006367, allocations: 287.2 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006369, allocations: 0 / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006369, allocations: 0 / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.125e-06/0.006373, allocations: 0 / 0.8804 GB, free: 3.668 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.0004946/0.006867, allocations: 371.9 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.0069, allocations: 9.906 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.007004, allocations: 88.17 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.007186, allocations: 197 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.007291, allocations: 154.9 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.007387, allocations: 154.9 kB / 0.8813 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/0.007468, allocations: 106.8 kB / 0.8814 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.007513, allocations: 83.47 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.007591, allocations: 154.7 kB / 0.8816 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.926e-05/0.00767, allocations: 154.5 kB / 0.8818 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.00775, allocations: 155.5 kB / 0.8819 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.008107, allocations: 421.5 kB / 0.8823 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.008236, allocations: 173.7 kB / 0.8825 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.008285, allocations: 80.14 kB / 0.8826 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.008328, allocations: 76.88 kB / 0.8826 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/0.008395, allocations: 109.9 kB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.008396, allocations: 0 / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001139/0.00851, allocations: 41.69 kB / 0.8828 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.008591, allocations: 137 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.008767, allocations: 145 kB / 0.8831 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.008802, allocations: 29.7 kB / 0.8831 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.008881, allocations: 96.08 kB / 0.8832 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.008883, allocations: 0 / 0.8832 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.008972, allocations: 41.7 kB / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.009149, allocations: 318.8 kB / 0.8835 GB, free: 276 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.009312, allocations: 99.7 kB / 0.8836 GB, free: 172 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.009459, allocations: 97.64 kB / 0.8837 GB, free: 68 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.009626, allocations: 102.6 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009628, allocations: 0 / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005241/0.01015, allocations: 268.9 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.0102, allocations: 46.41 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01021, allocations: 0 / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.01023, allocations: 5.172 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.01023, allocations: 3.938 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01023, allocations: 0 / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.01053, allocations: 31.94 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.01057, allocations: 11.98 kB / 0.8842 GB, free: 15.57 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.0001599/0.01073, allocations: 201.1 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.01082, allocations: 108.9 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.01089, allocations: 108.4 kB / 0.8846 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.179e-05/0.01098, allocations: 180.3 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000113/0.01109, allocations: 184.2 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-05/0.01118, allocations: 184.2 kB / 0.8851 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.01145, allocations: 360.9 kB / 0.8854 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-05/0.01151, allocations: 108.9 kB / 0.8855 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.01156, allocations: 105 kB / 0.8856 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.01173, allocations: 176.3 kB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/0.01183, allocations: 188.2 kB / 0.886 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.982e-05/0.01192, allocations: 176.3 kB / 0.8861 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/0.01203, allocations: 184.2 kB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01223, allocations: 319.6 kB / 0.8866 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.01229, allocations: 101 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.01239, allocations: 180.3 kB / 0.8869 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01249, allocations: 108.9 kB / 0.887 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.0126, allocations: 184.2 kB / 0.8872 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.01266, allocations: 112.9 kB / 0.8873 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001007/0.01276, allocations: 103.3 kB / 0.8874 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01276, allocations: 0 / 0.8874 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004412/0.0132, allocations: 75.69 kB / 0.8874 GB, free: 12.02 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.001234/0.01444, allocations: 433.2 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.01476, allocations: 185 kB / 0.888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01476, allocations: 0 / 0.888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.01477, allocations: 0 / 0.888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.01528, allocations: 459.7 kB / 0.8885 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.01569, allocations: 231.8 kB / 0.8887 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.264e-05/0.01577, allocations: 63.27 kB / 0.8888 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.788e-05/0.01584, allocations: 51.88 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.01587, allocations: 12.5 kB / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.01587, allocations: 0 / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.006686/0.02256, allocations: 2.856 MB / 0.8916 GB, free: 7.793 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=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: 8.11333773797378]