Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001218/0.001218, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.552/2.552, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.22 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2565, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001623/0.2581, allocations: 0.5458 MB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2596, allocations: 1.192 MB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.2597, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.211e-05/0.2598, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.2598, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.2604, allocations: 296.4 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2605, allocations: 71.83 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.2606, allocations: 7.984 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.2606, allocations: 39.91 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.2607, allocations: 35.91 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2607, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.2611, allocations: 195.6 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.2611, allocations: 7.938 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.2612, allocations: 35.84 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.2615, allocations: 251.5 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2615, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2615, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2615, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8262 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.0004127/0.2619, allocations: 437.3 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.262, allocations: 12.03 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.262, allocations: 114 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.2621, allocations: 80.22 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2623, allocations: 259.5 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.2623, allocations: 154.9 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.2624, allocations: 154.9 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.92e-05/0.2625, allocations: 104.9 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.2625, allocations: 79.28 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.2626, allocations: 154.6 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.2626, allocations: 150.6 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.2627, allocations: 150.6 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.263, allocations: 477.8 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.2631, allocations: 169.1 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.2631, allocations: 80.14 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2631, allocations: 83.22 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.2632, allocations: 105.8 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2632, allocations: 4 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.673e-05/0.2633, allocations: 45.53 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.2634, allocations: 126.7 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2635, allocations: 143.6 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2635, allocations: 25.7 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.2636, allocations: 96.03 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.2636, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.2637, allocations: 37.7 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2638, allocations: 322.8 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2639, allocations: 63.94 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.264, allocations: 55.95 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.2641, allocations: 98.58 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2641, allocations: 0 / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003553/0.2645, allocations: 231.1 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.2646, allocations: 45.69 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2646, allocations: 4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.2646, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.2646, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2646, allocations: 4.062 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.2649, allocations: 27.81 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.2649, allocations: 15.98 kB / 1.071 GB, free: 7.238 MB / 0.8262 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.0001232/0.265, allocations: 197.1 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.2651, allocations: 116.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.2652, allocations: 112.5 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.714e-05/0.2652, allocations: 184.3 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.469e-05/0.2653, allocations: 180.2 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/0.2654, allocations: 180.2 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.2656, allocations: 413.2 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.371e-05/0.2656, allocations: 116.9 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.2657, allocations: 101 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.46e-05/0.2658, allocations: 184.2 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.2658, allocations: 180.2 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.373e-05/0.2659, allocations: 184.2 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.257e-05/0.266, allocations: 180.3 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2661, allocations: 307.7 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.2662, allocations: 190 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.2663, allocations: 184.2 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.2663, allocations: 105 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.2664, allocations: 176.3 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.2665, allocations: 108.9 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.2665, allocations: 113.5 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2665, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000297/0.2668, allocations: 71.89 kB / 1.074 GB, free: 3.508 MB / 0.8262 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.001074/0.2679, allocations: 1.038 MB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.2682, allocations: 215.3 kB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2682, allocations: 4.062 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2682, allocations: 0 / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2685, allocations: 459.7 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.001663/0.2702, allocations: 1.858 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2705, allocations: 0.6807 MB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.298e-05/0.2705, allocations: 51.86 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.2706, allocations: 11.44 kB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2706, allocations: 7.875 kB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.57/5.841, allocations: 3.668 MB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/17.95, allocations: 5.812 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches