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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001438/0.001438, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.573/0.5744, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001604/0.576, allocations: 0.6072 MB / 0.9498 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.5773, allocations: 1.181 MB / 0.951 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.5773, allocations: 0 / 0.951 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.477e-05/0.5774, allocations: 9.5 kB / 0.951 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.5775, allocations: 0 / 0.951 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.5781, allocations: 249.7 kB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.5782, allocations: 82.05 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.5783, allocations: 7.875 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.5783, allocations: 42.95 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.5784, allocations: 37.8 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.5784, allocations: 2.938 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.5788, allocations: 190.4 kB / 0.9516 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.5789, allocations: 9.031 kB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.5789, allocations: 34.22 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.5793, allocations: 253.7 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5793, allocations: 3.938 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5793, allocations: 0.9062 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5793, allocations: 4 kB / 0.9519 GB, free: 7.285 MB / 0.7169 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.0003493/0.5797, allocations: 446.4 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5797, allocations: 8.875 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.5798, allocations: 107.2 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.5798, allocations: 90.09 kB / 0.9525 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.5799, allocations: 246.2 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.58, allocations: 162.3 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.58, allocations: 161.1 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.414e-05/0.58, allocations: 104.9 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5801, allocations: 75.28 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.5801, allocations: 159.8 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5801, allocations: 150.6 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.994e-05/0.5801, allocations: 159.8 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.5803, allocations: 469 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.5804, allocations: 166.3 kB / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.5804, allocations: 81.36 kB / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.5804, allocations: 83.22 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5804, allocations: 106.9 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5804, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.758e-05/0.5805, allocations: 40.17 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.5806, allocations: 126.7 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.5807, allocations: 148.7 kB / 0.9548 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5807, allocations: 28.86 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.5807, allocations: 96.66 kB / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.5807, allocations: 0 / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.5808, allocations: 46.75 kB / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.92e-05/0.5809, allocations: 317.6 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.581, allocations: 65.17 kB / 0.9553 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.5811, allocations: 60.5 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.5812, allocations: 91.72 kB / 0.9555 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5812, allocations: 4 kB / 0.9555 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003303/0.5815, allocations: 240.4 kB / 0.9557 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.5816, allocations: 45.84 kB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5816, allocations: 0 / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5816, allocations: 0 / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.5816, allocations: 1.219 kB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.5816, allocations: 0 / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.5819, allocations: 29.56 kB / 0.9558 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.582, allocations: 11.34 kB / 0.9558 GB, free: 3.387 MB / 0.7169 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 7.943e-05/0.582, allocations: 201.6 kB / 0.956 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.5821, allocations: 120.5 kB / 0.9561 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.5821, allocations: 114.6 kB / 0.9562 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.5822, allocations: 181.4 kB / 0.9564 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/0.5822, allocations: 181.5 kB / 0.9566 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.5822, allocations: 176.3 kB / 0.9567 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5824, allocations: 416.8 kB / 0.9571 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.5824, allocations: 110.3 kB / 0.9572 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.5825, allocations: 101 kB / 0.9573 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.332e-05/0.5825, allocations: 189.5 kB / 0.9575 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.5825, allocations: 177.7 kB / 0.9577 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-05/0.5826, allocations: 185.6 kB / 0.9579 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.212e-05/0.5826, allocations: 180.3 kB / 0.958 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.5827, allocations: 309.9 kB / 0.9583 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.5828, allocations: 187.1 kB / 0.9585 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.5828, allocations: 185.3 kB / 0.9587 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.5829, allocations: 106.1 kB / 0.9588 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.583, allocations: 177.3 kB / 0.959 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.583, allocations: 114.2 kB / 0.9591 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.5831, allocations: 105.1 kB / 0.9592 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5831, allocations: 0 / 0.9592 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004782/0.5836, allocations: 68.61 kB / 0.9592 GB, free: 15.75 MB / 0.7325 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.001108/0.5847, allocations: 1.038 MB / 0.9602 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.585, allocations: 219.8 kB / 0.9605 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5851, allocations: 0 / 0.9605 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.5851, allocations: 0 / 0.9605 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.5854, allocations: 458.1 kB / 0.9609 GB, free: 14.25 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5872, allocations: 1.869 MB / 0.9627 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.5874, allocations: 0.6824 MB / 0.9634 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.933e-05/0.5875, allocations: 52 kB / 0.9634 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.5876, allocations: 12.52 kB / 0.9634 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5876, allocations: 0 / 0.9634 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5418/1.129, allocations: 3.603 MB / 0.967 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/1.13, allocations: 286.9 kB / 0.9672 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.69, allocations: 2.625 kB / 0.9672 GB, free: 9.605 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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