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.001668/0.001668, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002044/0.002044, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.749/2.749, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.0021/0.0021, allocations: 71.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7559, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001546/0.7574, allocations: 0.5487 MB / 1.154 GB, free: 33.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.7587, allocations: 1.272 MB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.7587, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.566e-05/0.7588, allocations: 7.406 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.91e-05/0.7589, allocations: 2.438 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.7594, allocations: 299.1 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.7596, allocations: 71.52 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.7596, allocations: 10.98 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.7596, allocations: 38.09 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.7597, allocations: 46.78 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.7597, allocations: 2.781 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.76, allocations: 232.6 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.7601, allocations: 6.078 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.7601, allocations: 28.92 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.7604, allocations: 256.2 kB / 1.157 GB, free: 31.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7604, allocations: 0 / 1.157 GB, free: 31.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7604, allocations: 0 / 1.157 GB, free: 31.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.7604, allocations: 3.031 kB / 1.157 GB, free: 31.8 MB / 1.076 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.000301/0.7607, allocations: 364 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.7607, allocations: 10.94 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.7608, allocations: 86.17 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.7609, allocations: 199.5 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.7609, allocations: 165.7 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.7609, allocations: 159.3 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.872e-05/0.761, allocations: 110.1 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.761, allocations: 75.28 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.761, allocations: 154.5 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.761, allocations: 153.3 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.761, allocations: 150.6 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.7612, allocations: 426.1 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.7613, allocations: 165.1 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.7613, allocations: 82.92 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.7613, allocations: 79.28 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.7613, allocations: 108.7 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7613, allocations: 0 / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.724e-05/0.7614, allocations: 46.52 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.7614, allocations: 126.7 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.7615, allocations: 145.5 kB / 1.159 GB, free: 29.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.7615, allocations: 28.61 kB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.7615, allocations: 93.75 kB / 1.159 GB, free: 28.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.7615, allocations: 0 / 1.159 GB, free: 28.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.7616, allocations: 42.64 kB / 1.159 GB, free: 28.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.7616, allocations: 321 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.7617, allocations: 97.69 kB / 1.16 GB, free: 28.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.7618, allocations: 96.89 kB / 1.16 GB, free: 28.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.7619, allocations: 99 kB / 1.16 GB, free: 28.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7619, allocations: 0 / 1.16 GB, free: 28.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003188/0.7623, allocations: 267.2 kB / 1.16 GB, free: 28.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.7623, allocations: 50.81 kB / 1.16 GB, free: 28.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.7623, allocations: 3.938 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7623, allocations: 0 / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.7623, allocations: 3.234 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7623, allocations: 3.344 kB / 1.16 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.7626, allocations: 30.36 kB / 1.16 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.7626, allocations: 11.62 kB / 1.16 GB, free: 28.29 MB / 1.076 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 6.495e-05/0.7627, allocations: 197.9 kB / 1.161 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.7627, allocations: 115.1 kB / 1.161 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.7627, allocations: 111.1 kB / 1.161 GB, free: 27.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.7628, allocations: 179.2 kB / 1.161 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.7628, allocations: 187.5 kB / 1.161 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.7628, allocations: 183.1 kB / 1.161 GB, free: 27.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.7629, allocations: 360.2 kB / 1.162 GB, free: 26.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.7629, allocations: 116.9 kB / 1.162 GB, free: 26.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.7629, allocations: 104.4 kB / 1.162 GB, free: 26.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/0.763, allocations: 183 kB / 1.162 GB, free: 26.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.763, allocations: 180.2 kB / 1.162 GB, free: 26.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/0.763, allocations: 179.3 kB / 1.162 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.763, allocations: 184.2 kB / 1.163 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.938e-05/0.7631, allocations: 314.9 kB / 1.163 GB, free: 25.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.7631, allocations: 107.6 kB / 1.163 GB, free: 25.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.7631, allocations: 183.6 kB / 1.163 GB, free: 25.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.7632, allocations: 107.5 kB / 1.163 GB, free: 25.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.7632, allocations: 176.3 kB / 1.163 GB, free: 25.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.7632, allocations: 111.5 kB / 1.164 GB, free: 24.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.7632, allocations: 105.6 kB / 1.164 GB, free: 24.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7632, allocations: 0 / 1.164 GB, free: 24.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003102/0.7635, allocations: 82 kB / 1.164 GB, free: 24.85 MB / 1.076 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.0007552/0.7643, allocations: 410.4 kB / 1.164 GB, free: 24.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.7645, allocations: 185.4 kB / 1.164 GB, free: 24.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7645, allocations: 3.938 kB / 1.164 GB, free: 24.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.7645, allocations: 2.625 kB / 1.164 GB, free: 24.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.7647, allocations: 461.5 kB / 1.165 GB, free: 24.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.765, allocations: 219 kB / 1.165 GB, free: 23.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.765, allocations: 69.7 kB / 1.165 GB, free: 23.78 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.765, allocations: 52.06 kB / 1.165 GB, free: 23.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.7651, allocations: 11.31 kB / 1.165 GB, free: 23.77 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.7651, allocations: 0 / 1.165 GB, free: 23.77 MB / 1.076 GB Notification: Performance of Templates: time 0.004791/0.7698, allocations: 2.767 MB / 1.168 GB, free: 23.43 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.37435822491534]