Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_latest_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=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 176.5 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009025/0.0009028, allocations: 99.61 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.292e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.345, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.39, allocations: 152.5 MB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.39, allocations: 89.05 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02811/1.418, allocations: 10.18 MB / 1.378 GB, free: 9.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.418, allocations: 0 / 1.378 GB, free: 9.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.206e-06/1.418, allocations: 0 / 1.378 GB, free: 9.188 MB / 0.8386 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.0005918/1.419, allocations: 422.7 kB / 1.378 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/1.419, allocations: 8.031 kB / 1.378 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.419, allocations: 87.14 kB / 1.378 GB, free: 8.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/1.42, allocations: 258.1 kB / 1.378 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/1.42, allocations: 154.6 kB / 1.379 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/1.42, allocations: 161.6 kB / 1.379 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/1.42, allocations: 101 kB / 1.379 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/1.42, allocations: 75.28 kB / 1.379 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/1.42, allocations: 150.6 kB / 1.379 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.234e-05/1.42, allocations: 154.6 kB / 1.379 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/1.42, allocations: 154.5 kB / 1.379 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/1.42, allocations: 481.5 kB / 1.38 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/1.421, allocations: 165.1 kB / 1.38 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/1.421, allocations: 91.64 kB / 1.38 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/1.421, allocations: 75.28 kB / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.421, allocations: 109.8 kB / 1.38 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/1.421, allocations: 0 / 1.38 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001233/1.421, allocations: 33.7 kB / 1.38 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/1.421, allocations: 130.6 kB / 1.38 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.421, allocations: 140.7 kB / 1.38 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.421, allocations: 25.7 kB / 1.381 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/1.421, allocations: 95.69 kB / 1.381 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/1.421, allocations: 0 / 1.381 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.421, allocations: 0 / 1.381 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.421, allocations: 326.1 kB / 1.381 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/1.422, allocations: 62.2 kB / 1.381 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.404e-05/1.422, allocations: 54.83 kB / 1.381 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/1.422, allocations: 84.28 kB / 1.381 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.422, allocations: 7.969 kB / 1.381 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003971/1.422, allocations: 211.4 kB / 1.381 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/1.422, allocations: 49.38 kB / 1.381 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.422, allocations: 64 / 1.381 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.422, allocations: 4 kB / 1.381 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/1.422, allocations: 0 / 1.381 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.422, allocations: 0 / 1.381 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/1.423, allocations: 19.89 kB / 1.381 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/1.423, allocations: 15.98 kB / 1.381 GB, free: 5.203 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.423, allocations: 191.6 kB / 1.382 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/1.423, allocations: 112.8 kB / 1.382 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/1.423, allocations: 108.6 kB / 1.382 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.517e-05/1.423, allocations: 176.3 kB / 1.382 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-05/1.423, allocations: 184.2 kB / 1.382 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.681e-05/1.423, allocations: 183.6 kB / 1.382 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/1.423, allocations: 416.2 kB / 1.383 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/1.424, allocations: 105 kB / 1.383 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/1.424, allocations: 104.9 kB / 1.383 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-05/1.424, allocations: 187.6 kB / 1.383 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/1.424, allocations: 176.3 kB / 1.383 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.984e-05/1.424, allocations: 184.2 kB / 1.383 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.552e-05/1.424, allocations: 180.3 kB / 1.384 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/1.424, allocations: 318.9 kB / 1.384 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.424, allocations: 184.8 kB / 1.384 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/1.424, allocations: 191.8 kB / 1.384 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/1.424, allocations: 101 kB / 1.384 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/1.424, allocations: 184.2 kB / 1.385 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.424, allocations: 104.9 kB / 1.385 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.771e-05/1.425, allocations: 111.1 kB / 1.385 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.425, allocations: 0 / 1.385 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000503/1.425, allocations: 86.41 kB / 1.385 GB, free: 1.504 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009544/1.426, allocations: 409.2 kB / 1.385 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003166/1.426, allocations: 221.3 kB / 1.385 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.426, allocations: 3.938 kB / 1.385 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/1.426, allocations: 0 / 1.385 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/1.427, allocations: 0.5262 MB / 1.386 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/1.427, allocations: 173.4 kB / 1.386 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.427, allocations: 0.6848 MB / 1.387 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.473e-05/1.427, allocations: 51.81 kB / 1.387 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/1.428, allocations: 7.438 kB / 1.387 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/1.428, allocations: 0 / 1.387 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005804/1.433, allocations: 2.545 MB / 1.389 GB, free: 12.98 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches