Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 103.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 443.4 MB / 0.7286 GB, free: 13.38 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 1.056 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8541, allocations: 160.7 MB / 1.213 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001984/0.8561, allocations: 0.552 MB / 1.214 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.858, allocations: 1.205 MB / 1.215 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.8581, allocations: 0 / 1.215 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.8582, allocations: 10.14 kB / 1.215 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.8583, allocations: 3.938 kB / 1.215 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.8593, allocations: 276.8 kB / 1.215 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.8595, allocations: 73.48 kB / 1.215 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.8595, allocations: 7.312 kB / 1.215 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.8596, allocations: 39.02 kB / 1.215 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.8597, allocations: 44.38 kB / 1.215 GB, free: 2.676 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.8597, allocations: 7.469 kB / 1.216 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.8602, allocations: 215.3 kB / 1.216 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.8602, allocations: 8.469 kB / 1.216 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.8603, allocations: 31.22 kB / 1.216 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.8607, allocations: 254.9 kB / 1.216 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.8607, allocations: 0 / 1.216 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8607, allocations: 1.188 kB / 1.216 GB, free: 2.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.8607, allocations: 0 / 1.216 GB, free: 2.402 MB / 0.92 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.0005135/0.8612, allocations: 450.6 kB / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8613, allocations: 13.3 kB / 1.216 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.8613, allocations: 86.19 kB / 1.217 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.8615, allocations: 250.9 kB / 1.217 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.8616, allocations: 154.5 kB / 1.217 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.8617, allocations: 156.1 kB / 1.217 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.321e-05/0.8617, allocations: 106.5 kB / 1.217 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.8618, allocations: 79.22 kB / 1.217 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.8618, allocations: 158.6 kB / 1.217 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-05/0.8619, allocations: 155.7 kB / 1.218 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.862, allocations: 150.6 kB / 1.218 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.8623, allocations: 470.8 kB / 1.218 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.8624, allocations: 174.4 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.8625, allocations: 84.08 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.8625, allocations: 75.28 kB / 1.218 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.8626, allocations: 111.2 kB / 1.219 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8626, allocations: 0 / 1.219 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.913e-05/0.8627, allocations: 40.08 kB / 1.219 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.8627, allocations: 139.9 kB / 1.219 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8629, allocations: 138 kB / 1.219 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8629, allocations: 28.36 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.863, allocations: 101.4 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.863, allocations: 0 / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.8631, allocations: 43.11 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8632, allocations: 317.3 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.8633, allocations: 68.92 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.8634, allocations: 60.75 kB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.8636, allocations: 96.27 kB / 1.22 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8636, allocations: 0 / 1.22 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004141/0.864, allocations: 227.3 kB / 1.22 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.864, allocations: 42.03 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.864, allocations: 0 / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8641, allocations: 1 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.8641, allocations: 0 / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8641, allocations: 1.094 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.8644, allocations: 33.45 kB / 1.22 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.8644, allocations: 18.98 kB / 1.22 GB, free: 14.61 MB / 0.9356 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.0001399/0.8646, allocations: 203.4 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.8647, allocations: 111.5 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.8647, allocations: 111 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-05/0.8648, allocations: 181.7 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.406e-05/0.8649, allocations: 182.2 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/0.8649, allocations: 184.2 kB / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.8652, allocations: 407.7 kB / 1.221 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/0.8652, allocations: 106.1 kB / 1.221 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.8653, allocations: 114.5 kB / 1.221 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.8654, allocations: 185.5 kB / 1.222 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.8654, allocations: 184.2 kB / 1.222 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.045e-05/0.8655, allocations: 181.4 kB / 1.222 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.017e-05/0.8656, allocations: 177.4 kB / 1.222 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.8657, allocations: 317.7 kB / 1.222 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.8658, allocations: 195.4 kB / 1.223 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.8659, allocations: 178 kB / 1.223 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.866, allocations: 101 kB / 1.223 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.8661, allocations: 185.8 kB / 1.223 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.8661, allocations: 102.6 kB / 1.223 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.301e-05/0.8662, allocations: 109.8 kB / 1.223 GB, free: 11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8662, allocations: 0 / 1.223 GB, free: 11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003673/0.8666, allocations: 71.3 kB / 1.223 GB, free: 10.97 MB / 0.9356 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.0009095/0.8675, allocations: 398.9 kB / 1.224 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.8677, allocations: 159.6 kB / 1.224 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8678, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.8678, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.8681, allocations: 460.6 kB / 1.224 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.8685, allocations: 235.8 kB / 1.224 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.8688, allocations: 0.679 MB / 1.225 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.583e-05/0.8688, allocations: 51.41 kB / 1.225 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.8689, allocations: 8.531 kB / 1.225 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.8689, allocations: 0 / 1.225 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.006037/0.8749, allocations: 2.604 MB / 1.228 GB, free: 7.871 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.771152273751795]