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.001998/0.001998, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002598/0.002598, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.449/1.449, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.807/2.807, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 177] 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.823e-06/1.823e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.327e-05, allocations: 3.859 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001788/0.001822, allocations: 0.5665 MB / 0.8113 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.00396, allocations: 1.28 MB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.003983, allocations: 0 / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.004097, allocations: 11.98 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.004148, allocations: 5.344 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000937/0.005085, allocations: 288.9 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.005252, allocations: 79.81 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.005287, allocations: 1.375 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.143e-05/0.005378, allocations: 51.89 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.00548, allocations: 39.94 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.005503, allocations: 5.625 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.00601, allocations: 227.4 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.006044, allocations: 7.938 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.006111, allocations: 27.91 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.006635, allocations: 291.1 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006638, allocations: 1.344 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006639, allocations: 0 / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.006643, allocations: 0 / 0.8136 GB, free: 15.26 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.0005393/0.007182, allocations: 363.9 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.007221, allocations: 15.97 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.007336, allocations: 86.11 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.007535, allocations: 197 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.424e-05/0.007629, allocations: 154.9 kB / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.007747, allocations: 158.9 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.519e-05/0.007842, allocations: 105.5 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.007886, allocations: 77.72 kB / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.00797, allocations: 154.7 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/0.008051, allocations: 154.6 kB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.008156, allocations: 158.5 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.00853, allocations: 413.5 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.008653, allocations: 169.1 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.008717, allocations: 80.86 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.008765, allocations: 79.81 kB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.29e-05/0.008838, allocations: 109.9 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.008838, allocations: 5.594 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001478/0.008986, allocations: 41.66 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.009071, allocations: 130.6 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.009265, allocations: 145.7 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.0093, allocations: 26.3 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.009389, allocations: 96.11 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.009391, allocations: 5.312 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/0.009481, allocations: 41.69 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.009675, allocations: 314.8 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.009847, allocations: 102.8 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01, allocations: 97.62 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.01016, allocations: 98.45 kB / 0.817 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01017, allocations: 1.156 kB / 0.817 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005455/0.01071, allocations: 280.9 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.01077, allocations: 41.69 kB / 0.8173 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01077, allocations: 0.5938 kB / 0.8173 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.01079, allocations: 0.9375 kB / 0.8173 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-06/0.0108, allocations: 3.938 kB / 0.8173 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.0108, allocations: 4 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.01114, allocations: 20.78 kB / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.01119, allocations: 25.59 kB / 0.8174 GB, free: 11.17 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.0001598/0.01135, allocations: 197 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.01145, allocations: 112.9 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.0116, allocations: 112.5 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.566e-05/0.0117, allocations: 181.2 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-05/0.0118, allocations: 184.1 kB / 0.8181 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.524e-05/0.01189, allocations: 182.4 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.01217, allocations: 364.8 kB / 0.8186 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-05/0.01223, allocations: 105 kB / 0.8187 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.01229, allocations: 104.9 kB / 0.8188 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.01239, allocations: 184.2 kB / 0.819 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.01249, allocations: 176.3 kB / 0.8192 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001084/0.0126, allocations: 182.4 kB / 0.8194 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.822e-05/0.0127, allocations: 180.3 kB / 0.8195 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.01291, allocations: 319.6 kB / 0.8198 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.01297, allocations: 105 kB / 0.8199 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.01309, allocations: 180.2 kB / 0.8201 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01319, allocations: 105 kB / 0.8202 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.01329, allocations: 188.6 kB / 0.8204 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.01335, allocations: 106.7 kB / 0.8205 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.6e-05/0.01345, allocations: 101.9 kB / 0.8206 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01345, allocations: 0 / 0.8206 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000392/0.01384, allocations: 75.72 kB / 0.8207 GB, free: 7.625 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.001154/0.01499, allocations: 426.1 kB / 0.8211 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.01532, allocations: 185 kB / 0.8212 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01532, allocations: 3.938 kB / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.01532, allocations: 0 / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.0159, allocations: 465.9 kB / 0.8217 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.01629, allocations: 224.8 kB / 0.8219 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.922e-05/0.01637, allocations: 67.2 kB / 0.822 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.64e-05/0.01647, allocations: 48.97 kB / 0.822 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.0165, allocations: 16.42 kB / 0.822 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.0165, allocations: 4 kB / 0.822 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.006956/0.02345, allocations: 2.862 MB / 0.8248 GB, free: 3.418 MB / 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=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/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: 7.66934277897235]