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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.058/2.058, allocations: 390.5 MB / 398 MB, free: 10.95 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.001205/0.001205, allocations: 180.8 kB / 491.2 MB, free: 1.543 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.345/1.345, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008643/0.0008642, allocations: 87.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.696e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7392/0.9525, allocations: 151.8 MB / 1.361 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.9527, allocations: 87.03 kB / 1.361 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.9758, allocations: 10.04 MB / 1.371 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.644e-06/0.9759, allocations: 0 / 1.371 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.9759, allocations: 0 / 1.371 GB, free: 32.43 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.00039/0.9763, allocations: 424.4 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9763, allocations: 7.656 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.9764, allocations: 90.77 kB / 1.371 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.9765, allocations: 250.2 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.9766, allocations: 158.5 kB / 1.371 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.9767, allocations: 158.4 kB / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.362e-05/0.9767, allocations: 150.6 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.993e-05/0.9767, allocations: 105 kB / 1.372 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.9768, allocations: 75.28 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.9768, allocations: 153.8 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.9769, allocations: 154.6 kB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.9771, allocations: 453.4 kB / 1.373 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.9772, allocations: 172.2 kB / 1.373 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.9772, allocations: 84.19 kB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.9773, allocations: 82.14 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.9773, allocations: 109.7 kB / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.9773, allocations: 0 / 1.373 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.509e-05/0.9774, allocations: 29.55 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.413e-05/0.9774, allocations: 55.25 kB / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.9775, allocations: 141.9 kB / 1.373 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.9776, allocations: 29.45 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.9776, allocations: 90.92 kB / 1.373 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.9776, allocations: 4 kB / 1.373 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.9776, allocations: 3.969 kB / 1.373 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9778, allocations: 321.9 kB / 1.374 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.9779, allocations: 56.31 kB / 1.374 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.9779, allocations: 56.69 kB / 1.374 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.9781, allocations: 60.3 kB / 1.374 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.9781, allocations: 0 / 1.374 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003385/0.9785, allocations: 188.8 kB / 1.374 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.9785, allocations: 46.05 kB / 1.374 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9785, allocations: 4.062 kB / 1.374 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.9785, allocations: 0 / 1.374 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.9785, allocations: 0 / 1.374 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.9786, allocations: 0 / 1.374 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.9787, allocations: 18.38 kB / 1.374 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.9788, allocations: 14.72 kB / 1.374 GB, free: 29.11 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 9.645e-05/0.9789, allocations: 184.1 kB / 1.374 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.005e-05/0.979, allocations: 145.3 kB / 1.374 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.979, allocations: 120.4 kB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.9791, allocations: 112 kB / 1.375 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/0.9791, allocations: 176.3 kB / 1.375 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-05/0.9792, allocations: 180 kB / 1.375 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/0.9792, allocations: 180.2 kB / 1.375 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.9794, allocations: 401.1 kB / 1.376 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.9794, allocations: 101 kB / 1.376 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.9795, allocations: 108.9 kB / 1.376 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.649e-05/0.9795, allocations: 176.3 kB / 1.376 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.9796, allocations: 186.9 kB / 1.376 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.833e-05/0.9796, allocations: 180.2 kB / 1.376 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-05/0.9797, allocations: 183.3 kB / 1.376 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.9798, allocations: 317.7 kB / 1.377 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.9799, allocations: 190 kB / 1.377 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.9799, allocations: 176.3 kB / 1.377 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.98, allocations: 112.8 kB / 1.377 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.9801, allocations: 179.1 kB / 1.377 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.9801, allocations: 101 kB / 1.377 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.9802, allocations: 112.2 kB / 1.378 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9802, allocations: 3.938 kB / 1.378 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003808/0.9806, allocations: 84.47 kB / 1.378 GB, free: 25.43 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.000836/0.9814, allocations: 1.033 MB / 1.379 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.9816, allocations: 209.4 kB / 1.379 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9816, allocations: 3.938 kB / 1.379 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.9816, allocations: 0 / 1.379 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.9819, allocations: 0.5265 MB / 1.379 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.9823, allocations: 251.4 kB / 1.38 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.9825, allocations: 0.6819 MB / 1.38 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.267e-05/0.9826, allocations: 61.73 kB / 1.38 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.9826, allocations: 14.28 kB / 1.38 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/0.9826, allocations: 0 / 1.38 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/1.004, allocations: 2.937 MB / 1.383 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/1.004, allocations: 213 kB / 1.383 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.473, allocations: 2.031 kB / 1.383 GB, free: 22.44 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat does not exist to compare? outputFormat=mat