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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00598/0.00598, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001342/0.001342, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.398/2.398, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.48 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3232, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001867/0.3251, allocations: 0.5476 MB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3269, allocations: 1.192 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.3269, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.327, allocations: 3.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.3271, allocations: 3.984 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.3278, allocations: 283.3 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.328, allocations: 83.8 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.328, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.3281, allocations: 39.89 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3282, allocations: 39.91 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3282, allocations: 7.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3286, allocations: 207.7 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.3286, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3287, allocations: 39.78 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.3291, allocations: 243.6 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3291, allocations: 0 / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3291, allocations: 0 / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.3291, allocations: 0 / 1.091 GB, free: 14.8 MB / 0.8575 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.0005291/0.3297, allocations: 453 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3297, allocations: 12.03 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.3298, allocations: 84.22 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.33, allocations: 255.5 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.3301, allocations: 150.9 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3302, allocations: 162.9 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.714e-05/0.3303, allocations: 109.1 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.3303, allocations: 83.28 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/0.3304, allocations: 150.6 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.3305, allocations: 150.6 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.3305, allocations: 158.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3309, allocations: 465.9 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.331, allocations: 177.1 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.331, allocations: 80.14 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3311, allocations: 75.28 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.3311, allocations: 113.8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3311, allocations: 3.938 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001046/0.3312, allocations: 41.64 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.3313, allocations: 130.7 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3315, allocations: 137.7 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3315, allocations: 29.7 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.3316, allocations: 96.03 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3316, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.3317, allocations: 49.69 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3318, allocations: 310.8 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3319, allocations: 67.94 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.332, allocations: 59.95 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3321, allocations: 94.52 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3321, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003884/0.3325, allocations: 231.1 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.3326, allocations: 41.69 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3326, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3326, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.3326, allocations: 4 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3326, allocations: 3.984 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3329, allocations: 23.95 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.333, allocations: 23.97 kB / 1.094 GB, free: 10.59 MB / 0.8575 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.0001257/0.3331, allocations: 193.1 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.3332, allocations: 116.8 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.3332, allocations: 116.5 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.895e-05/0.3333, allocations: 184.3 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.799e-05/0.3334, allocations: 188.2 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-05/0.3335, allocations: 176.3 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3337, allocations: 413.2 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-05/0.3338, allocations: 105 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.3338, allocations: 104.9 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-05/0.3339, allocations: 188.2 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.334, allocations: 180.3 kB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-05/0.334, allocations: 184.2 kB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-05/0.3341, allocations: 180.3 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3343, allocations: 315.7 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.3344, allocations: 182 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.3344, allocations: 184.2 kB / 1.097 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.3345, allocations: 101 kB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.3346, allocations: 180.3 kB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.3346, allocations: 108.9 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.3347, allocations: 105.2 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3347, allocations: 0 / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003366/0.3351, allocations: 71.92 kB / 1.098 GB, free: 6.867 MB / 0.8575 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.0007297/0.3358, allocations: 411.4 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.3361, allocations: 215.3 kB / 1.098 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3361, allocations: 0 / 1.098 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3361, allocations: 0 / 1.098 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3365, allocations: 467.7 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.3368, allocations: 216.2 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3371, allocations: 0.6807 MB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.571e-05/0.3372, allocations: 47.88 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.3372, allocations: 15.42 kB / 1.1 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3372, allocations: 0 / 1.1 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.00596/0.3432, allocations: 2.619 MB / 1.102 GB, free: 2.238 MB / 0.8575 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","/var/lib/jenkins/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