Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.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.001289/0.001289, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.00148/0.00148, allocations: 203.7 kB / 23 MB, free: 4.934 MB / 14.72 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.595/3.595, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_8.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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 71.73 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4224, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002592/0.425, allocations: 0.5396 MB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.4273, allocations: 1.27 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.4274, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.4275, allocations: 11.97 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.4275, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.4284, allocations: 295.3 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.4285, allocations: 67.89 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.4286, allocations: 3.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.4287, allocations: 47.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.068e-05/0.4287, allocations: 43.89 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4288, allocations: 7.938 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.4292, allocations: 235.6 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.4292, allocations: 7.984 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.4293, allocations: 27.86 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.4297, allocations: 259.3 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4297, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4297, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4297, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 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.0005753/0.4303, allocations: 375.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4303, allocations: 11.97 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4304, allocations: 88.17 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.4306, allocations: 193.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.4307, allocations: 154.9 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.825e-05/0.4308, allocations: 158.9 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.456e-05/0.4309, allocations: 109.1 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.109e-05/0.4309, allocations: 75.28 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.431, allocations: 150.6 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.4311, allocations: 154.6 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.4312, allocations: 154.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.4317, allocations: 421.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.4318, allocations: 169.1 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.4319, allocations: 84.14 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.832e-05/0.4319, allocations: 75.28 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.432, allocations: 105.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.432, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001/0.4321, allocations: 41.58 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4322, allocations: 51.41 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4324, allocations: 152 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4324, allocations: 25.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.4325, allocations: 96.09 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.4325, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.4326, allocations: 49.69 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.4328, allocations: 318.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4329, allocations: 101.6 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4331, allocations: 101.6 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4332, allocations: 94.52 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4332, allocations: 3.938 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004476/0.4336, allocations: 265 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.4337, allocations: 45.62 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4337, allocations: 3.938 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4337, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.4337, allocations: 64 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4337, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.4341, allocations: 27.92 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.4341, allocations: 15.98 kB / 1.334 GB, free: 10.2 MB / 1.029 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.0001544/0.4343, allocations: 197.6 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.4344, allocations: 116.9 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.4344, allocations: 112.5 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.893e-05/0.4345, allocations: 184.3 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/0.4346, allocations: 104.9 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.4346, allocations: 109 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-05/0.4347, allocations: 184.2 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.4348, allocations: 105 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.435, allocations: 180.3 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001309/0.4351, allocations: 255.5 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002284/0.4353, allocations: 394.9 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.413e-05/0.4354, allocations: 101 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.735e-05/0.4355, allocations: 111.2 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of Backend: time 4.6e-07/0.4355, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.437, allocations: 0.5159 MB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007992/0.4378, allocations: 0.8779 MB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of Templates: time 0.006647/0.4444, allocations: 2.804 MB / 1.34 GB, free: 3.824 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.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: 9.95091346999834]