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.002415/0.002415, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002732/0.002732, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.674/1.674, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.014/3.014, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.656e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001752/0.001778, allocations: 0.574 MB / 0.8114 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.003812, allocations: 1.289 MB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.003835, allocations: 1.844 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.003943, allocations: 3.984 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.003998, allocations: 11.86 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.004773, allocations: 290.1 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.004941, allocations: 75.86 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.004975, allocations: 4 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.005056, allocations: 43.89 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.005154, allocations: 52.59 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.005183, allocations: 4 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.00563, allocations: 224 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.005661, allocations: 9.641 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.005725, allocations: 19.94 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.00621, allocations: 295.1 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.006215, allocations: 4 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006216, allocations: 0 / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.006221, allocations: 4.5 kB / 0.8136 GB, free: 15.23 MB / 0.7761 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.0006537/0.006874, allocations: 466.7 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.006913, allocations: 15.97 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.007033, allocations: 132 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.007234, allocations: 239.8 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.007366, allocations: 247.9 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.007508, allocations: 246.8 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.007606, allocations: 145.5 kB / 0.815 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.796e-05/0.007674, allocations: 124.7 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.007812, allocations: 242.5 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.007935, allocations: 242.4 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.008059, allocations: 242.3 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.008516, allocations: 0.5852 MB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.008691, allocations: 269.4 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.008776, allocations: 126.9 kB / 0.8168 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.00884, allocations: 119.2 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.398e-05/0.008934, allocations: 158.7 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.008935, allocations: 3.938 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001099/0.009045, allocations: 37.66 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.00915, allocations: 174.5 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.009375, allocations: 205.8 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.009406, allocations: 31.92 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.009511, allocations: 142.9 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.009513, allocations: 0 / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.009606, allocations: 51.34 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002737/0.00988, allocations: 0.4884 MB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.01001, allocations: 73.66 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01012, allocations: 66.17 kB / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01025, allocations: 81.83 kB / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01025, allocations: 0 / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004431/0.0107, allocations: 238.8 kB / 0.8186 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.01075, allocations: 41.69 kB / 0.8186 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01075, allocations: 0 / 0.8186 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01077, allocations: 0 / 0.8186 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-06/0.01077, allocations: 3.938 kB / 0.8186 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.01078, allocations: 2.219 kB / 0.8186 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.01099, allocations: 19.94 kB / 0.8187 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.01103, allocations: 19.97 kB / 0.8187 GB, free: 9.785 MB / 0.7761 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.0002009/0.01123, allocations: 279.8 kB / 0.8189 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.01135, allocations: 156.8 kB / 0.8191 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.01146, allocations: 164.8 kB / 0.8193 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001491/0.01161, allocations: 265.1 kB / 0.8195 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001448/0.01175, allocations: 272 kB / 0.8198 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001348/0.01189, allocations: 268.1 kB / 0.82 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.01223, allocations: 0.5004 MB / 0.8205 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-05/0.01232, allocations: 153.1 kB / 0.8207 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.0124, allocations: 157.8 kB / 0.8208 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.01282, allocations: 264.1 kB / 0.8211 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.01298, allocations: 268.9 kB / 0.8213 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001487/0.01313, allocations: 272 kB / 0.8216 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001287/0.01326, allocations: 264.1 kB / 0.8218 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.01354, allocations: 457.4 kB / 0.8223 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.01362, allocations: 148.9 kB / 0.8224 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.01377, allocations: 272 kB / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.0139, allocations: 148.9 kB / 0.8228 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.01404, allocations: 276.9 kB / 0.8231 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.01412, allocations: 144.9 kB / 0.8232 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001124/0.01423, allocations: 144.8 kB / 0.8233 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01423, allocations: 0 / 0.8233 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000374/0.01461, allocations: 79.66 kB / 0.8234 GB, free: 4.738 MB / 0.7761 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.02285/0.03745, allocations: 472.2 kB / 0.8239 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.03787, allocations: 185.3 kB / 0.8241 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.03787, allocations: 4.594 kB / 0.8241 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.03788, allocations: 0 / 0.8241 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.03847, allocations: 0.7067 MB / 0.8247 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.03889, allocations: 276.8 kB / 0.825 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.03897, allocations: 71.19 kB / 0.8251 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.608e-05/0.03905, allocations: 47.88 kB / 0.8251 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.03908, allocations: 12.44 kB / 0.8251 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of SimCode: time 1.102e-06/0.03908, allocations: 0 / 0.8251 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of Templates: time 0.007129/0.04621, allocations: 2.853 MB / 0.8279 GB, free: 196 kB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] 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/jenkins/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.252046312089078]