Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001057/0.001057, allocations: 176.9 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008711/0.0008711, allocations: 95.88 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.515e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.33, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.535, allocations: 151.7 MB / 1.36 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004302/1.536, allocations: 90.17 kB / 1.361 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02921/1.565, allocations: 10.18 MB / 1.371 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.194e-06/1.565, allocations: 3.938 kB / 1.371 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.565, allocations: 7 kB / 1.371 GB, free: 34.05 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.0005247/1.565, allocations: 420.3 kB / 1.371 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.566, allocations: 7.688 kB / 1.371 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/1.566, allocations: 86.84 kB / 1.371 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/1.566, allocations: 253.9 kB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/1.566, allocations: 154.4 kB / 1.371 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/1.566, allocations: 162.2 kB / 1.372 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.231e-05/1.566, allocations: 104.9 kB / 1.372 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/1.566, allocations: 81.52 kB / 1.372 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/1.566, allocations: 150.6 kB / 1.372 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/1.566, allocations: 150.6 kB / 1.372 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/1.566, allocations: 150.6 kB / 1.372 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/1.567, allocations: 483.7 kB / 1.373 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/1.567, allocations: 173 kB / 1.373 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/1.567, allocations: 83.95 kB / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/1.567, allocations: 75.28 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.567, allocations: 109.8 kB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/1.567, allocations: 0 / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/1.567, allocations: 33.42 kB / 1.373 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.567, allocations: 126.7 kB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.567, allocations: 136.4 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/1.567, allocations: 29.48 kB / 1.373 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/1.567, allocations: 90.11 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/1.567, allocations: 0 / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.567, allocations: 11.84 kB / 1.373 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.567, allocations: 322.5 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/1.567, allocations: 63.89 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/1.568, allocations: 58.56 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/1.568, allocations: 84.02 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.568, allocations: 3.938 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003695/1.568, allocations: 209.3 kB / 1.374 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/1.568, allocations: 47.22 kB / 1.374 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.568, allocations: 3.844 kB / 1.374 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.568, allocations: 4.062 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/1.568, allocations: 0 / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.568, allocations: 64 / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/1.568, allocations: 22.97 kB / 1.374 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/1.568, allocations: 15.22 kB / 1.374 GB, free: 30.57 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.0001166/1.569, allocations: 188.1 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/1.569, allocations: 116 kB / 1.375 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/1.569, allocations: 112 kB / 1.375 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/1.569, allocations: 184 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.929e-05/1.569, allocations: 176.3 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.212e-05/1.569, allocations: 176.3 kB / 1.375 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/1.569, allocations: 422.9 kB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/1.569, allocations: 105 kB / 1.376 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/1.569, allocations: 108.8 kB / 1.376 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.542e-05/1.569, allocations: 176.3 kB / 1.376 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/1.569, allocations: 182.8 kB / 1.376 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.865e-05/1.569, allocations: 180.2 kB / 1.376 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.713e-05/1.57, allocations: 184.1 kB / 1.376 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/1.57, allocations: 314.5 kB / 1.377 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/1.57, allocations: 197 kB / 1.377 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/1.57, allocations: 177.2 kB / 1.377 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/1.57, allocations: 101 kB / 1.377 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/1.57, allocations: 187.6 kB / 1.377 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/1.57, allocations: 112 kB / 1.378 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.172e-05/1.57, allocations: 104.9 kB / 1.378 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.57, allocations: 0 / 1.378 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005483/1.571, allocations: 87.3 kB / 1.378 GB, free: 27 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.0009841/1.572, allocations: 417.5 kB / 1.378 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002545/1.572, allocations: 214.7 kB / 1.378 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.572, allocations: 0 / 1.378 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/1.572, allocations: 0 / 1.378 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/1.572, allocations: 0.5237 MB / 1.379 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/1.573, allocations: 177.7 kB / 1.379 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.573, allocations: 0.6869 MB / 1.38 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.178e-05/1.573, allocations: 52.88 kB / 1.38 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/1.573, allocations: 11.25 kB / 1.38 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.573, allocations: 3.938 kB / 1.38 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.005735/1.579, allocations: 2.531 MB / 1.382 GB, free: 25.05 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches