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.001028/0.001028, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009876/0.0009876, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.048/2.048, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",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.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.511e-05, allocations: 3.188 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001992/0.002017, allocations: 0.6212 MB / 0.7607 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.003817, allocations: 1.327 MB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.003844, allocations: 0.8125 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.00395, allocations: 5.359 kB / 0.762 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.004012, allocations: 7.922 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.004689, allocations: 279 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.004853, allocations: 78.81 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.004895, allocations: 7.938 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.004976, allocations: 50.95 kB / 0.7624 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.005063, allocations: 44.47 kB / 0.7624 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.005083, allocations: 4 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.005529, allocations: 230.4 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.005563, allocations: 12.58 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.005608, allocations: 25.16 kB / 0.7627 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.006148, allocations: 283.2 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006151, allocations: 0 / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.342e-06/0.006153, allocations: 4 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006157, allocations: 0.7812 kB / 0.7629 GB, free: 3.711 MB / 0.7136 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.0003538/0.006511, allocations: 338 kB / 0.7633 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.006546, allocations: 8.906 kB / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.00661, allocations: 88.2 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.006746, allocations: 197.7 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.006797, allocations: 154.9 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.00685, allocations: 155.5 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.006903, allocations: 106.3 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.006927, allocations: 75.47 kB / 0.764 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.006967, allocations: 156.1 kB / 0.7642 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.007008, allocations: 150.6 kB / 0.7643 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.007052, allocations: 162.4 kB / 0.7645 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.007271, allocations: 365.2 kB / 0.7648 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.56e-05/0.007347, allocations: 170 kB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.007372, allocations: 80.14 kB / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.007397, allocations: 81.94 kB / 0.7651 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.007437, allocations: 109.8 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.007439, allocations: 0 / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.563e-05/0.007525, allocations: 45.67 kB / 0.7653 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.007567, allocations: 126.7 kB / 0.7654 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.007688, allocations: 138.5 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.007709, allocations: 29.7 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.007752, allocations: 90.56 kB / 0.7656 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.007754, allocations: 0 / 0.7656 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.007825, allocations: 41.69 kB / 0.7657 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.007911, allocations: 318.8 kB / 0.766 GB, free: 448 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.008007, allocations: 64.52 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.008074, allocations: 57.67 kB / 0.7661 GB, free: 312 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.008162, allocations: 71.02 kB / 0.7662 GB, free: 232 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008164, allocations: 3.938 kB / 0.7662 GB, free: 228 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002302/0.008394, allocations: 165 kB / 0.7663 GB, free: 44 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.00847, allocations: 41.73 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.008477, allocations: 1.031 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.008495, allocations: 0 / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.008497, allocations: 4 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.0085, allocations: 1 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.008651, allocations: 27.7 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.008685, allocations: 11.98 kB / 0.7664 GB, free: 15.95 MB / 0.7292 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 (yI1[1],yI2[1],yI2[2]) * 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.0001131/0.008798, allocations: 193.3 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.008856, allocations: 108.9 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.008905, allocations: 112.4 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.008957, allocations: 179 kB / 0.767 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/0.009009, allocations: 184.2 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.606e-05/0.009065, allocations: 180.2 kB / 0.7673 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.009259, allocations: 329.4 kB / 0.7676 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.009293, allocations: 101.1 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.009328, allocations: 105 kB / 0.7678 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.694e-05/0.009384, allocations: 184.2 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.009444, allocations: 186.5 kB / 0.7682 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.742e-05/0.009501, allocations: 180.2 kB / 0.7684 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.00955, allocations: 180.3 kB / 0.7685 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.009669, allocations: 307.7 kB / 0.7688 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.009709, allocations: 117 kB / 0.7689 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.009768, allocations: 180.2 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.009844, allocations: 111.4 kB / 0.7692 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.0099, allocations: 184.2 kB / 0.7694 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.009929, allocations: 105 kB / 0.7695 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.009962, allocations: 22.39 kB / 0.7695 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009962, allocations: 0 / 0.7695 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003433/0.0103, allocations: 71.73 kB / 0.7696 GB, free: 12.53 MB / 0.7292 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.001243/0.01155, allocations: 481.9 kB / 0.77 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.0119, allocations: 146.4 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.0119, allocations: 5.219 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.01191, allocations: 3.938 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01216, allocations: 466.2 kB / 0.7706 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.0124, allocations: 213.6 kB / 0.7708 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.776e-05/0.01243, allocations: 51.36 kB / 0.7709 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.01249, allocations: 51.86 kB / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01262, allocations: 87.33 kB / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/0.01262, allocations: 0 / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.00441/0.01703, allocations: 3.043 MB / 0.774 GB, free: 8.242 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.255809124093503]