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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005941/0.005941, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 201.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.83 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 162.3 MB / 1.242 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001765/0.2946, allocations: 0.5515 MB / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2962, allocations: 1.189 MB / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.2963, allocations: 0 / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.322e-05/0.2964, allocations: 0 / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.2964, allocations: 3.938 kB / 1.244 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.2971, allocations: 293.9 kB / 1.244 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.2972, allocations: 83.8 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.2973, allocations: 4 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.2973, allocations: 35.91 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.2974, allocations: 43.89 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.2975, allocations: 8 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.2978, allocations: 203.6 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.2979, allocations: 11.92 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.2979, allocations: 27.92 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.2983, allocations: 263.5 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2983, allocations: 0 / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2983, allocations: 0 / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2983, allocations: 0 / 1.244 GB, free: 6.219 MB / 0.9669 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.0004762/0.2988, allocations: 444.5 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2989, allocations: 8.031 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.2989, allocations: 114 kB / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.299, allocations: 88.11 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2992, allocations: 259.6 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.2993, allocations: 154.9 kB / 1.245 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.2994, allocations: 158.9 kB / 1.246 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.765e-05/0.2995, allocations: 112.9 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.2995, allocations: 75.28 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.2996, allocations: 150.6 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.2996, allocations: 154.6 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.2997, allocations: 150.6 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3001, allocations: 481.9 kB / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.3002, allocations: 169.1 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3003, allocations: 84.14 kB / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.3003, allocations: 79.22 kB / 1.247 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.3004, allocations: 105.8 kB / 1.247 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3004, allocations: 4 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.89e-05/0.3005, allocations: 37.64 kB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.3005, allocations: 130.7 kB / 1.247 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3007, allocations: 148 kB / 1.247 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3008, allocations: 25.7 kB / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.3008, allocations: 96.08 kB / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.3008, allocations: 0 / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.3009, allocations: 41.7 kB / 1.248 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3011, allocations: 322.8 kB / 1.248 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3012, allocations: 59.95 kB / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3013, allocations: 59.94 kB / 1.248 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3015, allocations: 94.52 kB / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3015, allocations: 0 / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004034/0.3019, allocations: 239 kB / 1.248 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.3019, allocations: 47.56 kB / 1.248 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.302, allocations: 4 kB / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.302, allocations: 0 / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.302, allocations: 4.062 kB / 1.248 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.302, allocations: 0 / 1.248 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.3023, allocations: 23.92 kB / 1.248 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.3023, allocations: 15.98 kB / 1.248 GB, free: 1.898 MB / 0.9669 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.00014/0.3025, allocations: 193.1 kB / 1.249 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.3026, allocations: 116.9 kB / 1.249 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/0.3027, allocations: 116.5 kB / 1.249 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.812e-05/0.3027, allocations: 180.3 kB / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.837e-05/0.3028, allocations: 180.2 kB / 1.249 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/0.3029, allocations: 176.3 kB / 1.249 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.3033, allocations: 417.2 kB / 1.25 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.678e-05/0.3033, allocations: 108.9 kB / 1.25 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.3034, allocations: 109 kB / 1.25 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.203e-05/0.3035, allocations: 180.2 kB / 1.25 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3036, allocations: 184.4 kB / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-05/0.3036, allocations: 180.2 kB / 1.25 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.104e-05/0.3037, allocations: 188.2 kB / 1.251 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3039, allocations: 307.7 kB / 1.251 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.304, allocations: 198 kB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.3041, allocations: 176.3 kB / 1.251 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.3042, allocations: 104.9 kB / 1.251 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.3043, allocations: 176.3 kB / 1.252 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.3044, allocations: 112.9 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.933e-05/0.3045, allocations: 107.2 kB / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3045, allocations: 0 / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004035/0.3049, allocations: 79.62 kB / 1.252 GB, free: 14.16 MB / 0.9825 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.0733/0.3782, allocations: 1.03 MB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000522/0.3787, allocations: 219.3 kB / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3788, allocations: 0 / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.3788, allocations: 0 / 1.253 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.3794, allocations: 455.7 kB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.3823, allocations: 1.85 MB / 1.255 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3827, allocations: 0.6768 MB / 1.256 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.3829, allocations: 55.98 kB / 1.256 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3829, allocations: 11.44 kB / 1.256 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/0.3829, allocations: 3.938 kB / 1.256 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2015/0.5844, allocations: 3.729 MB / 1.26 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.169, allocations: 8 kB / 1.26 GB, free: 6.141 MB / 0.9825 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/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=400 --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