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.001398/0.001398, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001686/0.001686, allocations: 188.5 kB / 22.22 MB, free: 5.102 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.555/1.555, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 443.4 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002037/0.002037, allocations: 59.91 kB / 1.061 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8564, allocations: 160.8 MB / 1.218 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001931/0.8583, allocations: 0.5556 MB / 1.219 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.8604, allocations: 1.293 MB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.8605, allocations: 0 / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.8606, allocations: 14.48 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.8606, allocations: 3.984 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.8614, allocations: 289.4 kB / 1.221 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.8616, allocations: 77.28 kB / 1.221 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.8617, allocations: 10.05 kB / 1.221 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.8617, allocations: 38.94 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.8618, allocations: 45.11 kB / 1.221 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.8619, allocations: 3.469 kB / 1.221 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.8624, allocations: 250.5 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.8624, allocations: 8.062 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.8625, allocations: 32 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.8629, allocations: 265.7 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8629, allocations: 4.781 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8629, allocations: 0 / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8629, allocations: 0.75 kB / 1.221 GB, free: 1.832 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.0005484/0.8634, allocations: 446.7 kB / 1.222 GB, free: 1.383 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.8635, allocations: 9.594 kB / 1.222 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.8636, allocations: 82.34 kB / 1.222 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.8638, allocations: 258.8 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.8639, allocations: 165.6 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.864, allocations: 157.1 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.864, allocations: 106.1 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.8641, allocations: 79.27 kB / 1.223 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.8642, allocations: 150.6 kB / 1.223 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/0.8642, allocations: 151.8 kB / 1.223 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.8643, allocations: 154.6 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.8647, allocations: 473.9 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.8648, allocations: 166.5 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.8649, allocations: 84.14 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.8649, allocations: 80.5 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.865, allocations: 109.8 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.865, allocations: 0 / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001046/0.8651, allocations: 40.22 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.8651, allocations: 127.8 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.8653, allocations: 146.7 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.8654, allocations: 28.8 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.8654, allocations: 96.25 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.8654, allocations: 1.094 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.8655, allocations: 43.19 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8657, allocations: 316.2 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.8658, allocations: 65.66 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.8659, allocations: 61.34 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.866, allocations: 91.53 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.866, allocations: 0 / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004375/0.8665, allocations: 238.8 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.8665, allocations: 52.62 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8665, allocations: 1.062 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.8665, allocations: 0 / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.8665, allocations: 1.125 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.8666, allocations: 0 / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.8669, allocations: 28.95 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.8669, allocations: 11.25 kB / 1.225 GB, free: 14.04 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.0001651/0.8671, allocations: 210.5 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.8672, allocations: 110.9 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.8672, allocations: 115.7 kB / 1.226 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-05/0.8673, allocations: 176.3 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.812e-05/0.8674, allocations: 181.3 kB / 1.226 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.501e-05/0.8675, allocations: 181.4 kB / 1.226 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.8678, allocations: 412.8 kB / 1.226 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.075e-05/0.8678, allocations: 114.1 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.8679, allocations: 109.9 kB / 1.227 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-05/0.8679, allocations: 181.1 kB / 1.227 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/0.868, allocations: 177.3 kB / 1.227 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.362e-05/0.8681, allocations: 185.3 kB / 1.227 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-05/0.8682, allocations: 185.4 kB / 1.227 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.8684, allocations: 312.9 kB / 1.228 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.8685, allocations: 191.2 kB / 1.228 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.8686, allocations: 178.2 kB / 1.228 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.8687, allocations: 113.8 kB / 1.228 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.8688, allocations: 177.3 kB / 1.228 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.8688, allocations: 106 kB / 1.228 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.8689, allocations: 109.2 kB / 1.228 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8689, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003989/0.8693, allocations: 72.27 kB / 1.229 GB, free: 10.41 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.0009619/0.8703, allocations: 403.1 kB / 1.229 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.8706, allocations: 151.7 kB / 1.229 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.8706, allocations: 0 / 1.229 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.8706, allocations: 0 / 1.229 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.871, allocations: 465.8 kB / 1.23 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.8714, allocations: 224.7 kB / 1.23 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.8717, allocations: 0.6835 MB / 1.23 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.244e-05/0.8718, allocations: 50.36 kB / 1.23 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.8718, allocations: 9.562 kB / 1.23 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8718, allocations: 0 / 1.23 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.006177/0.878, allocations: 2.611 MB / 1.233 GB, free: 7.309 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.797508344985545]