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.005218/0.005218, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001114/0.001114, allocations: 199.4 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 61.72 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3079, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001835/0.3098, allocations: 0.5515 MB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3115, allocations: 1.2 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.3116, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.3117, allocations: 11.91 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.3118, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.3124, allocations: 278.3 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3126, allocations: 83.81 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.3126, allocations: 7.984 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.3127, allocations: 35.91 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.3128, allocations: 39.84 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3128, allocations: 4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.3132, allocations: 207.7 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.3133, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.3133, allocations: 39.78 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.3137, allocations: 243.6 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3137, allocations: 4 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3137, allocations: 0 / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3137, allocations: 4 kB / 1.091 GB, free: 14.86 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.0004892/0.3142, allocations: 449 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.3143, allocations: 12.03 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/0.3144, allocations: 84.16 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3146, allocations: 251.6 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.3146, allocations: 158.9 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.3147, allocations: 154.9 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.377e-05/0.3148, allocations: 109.1 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.3149, allocations: 83.27 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.3149, allocations: 150.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.315, allocations: 154.6 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.315, allocations: 158.5 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3154, allocations: 469.9 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.3155, allocations: 165.1 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.3155, allocations: 80.14 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.3156, allocations: 79.28 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.3156, allocations: 117.7 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3156, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.3157, allocations: 41.64 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3158, allocations: 126.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.316, allocations: 137.7 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.316, allocations: 33.7 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.3161, allocations: 100 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.3161, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.3162, allocations: 45.69 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3163, allocations: 314.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3164, allocations: 67.94 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.3165, allocations: 55.95 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3166, allocations: 98.58 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3167, allocations: 3.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003791/0.317, allocations: 231.2 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.3171, allocations: 43.41 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3171, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3171, allocations: 4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.3171, allocations: 3.984 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3171, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.3174, allocations: 19.89 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3175, allocations: 19.98 kB / 1.094 GB, free: 10.66 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.0001192/0.3176, allocations: 197.1 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.3177, allocations: 116.8 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.3178, allocations: 116.6 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/0.3178, allocations: 176.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.88e-05/0.3179, allocations: 184.2 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.509e-05/0.318, allocations: 180.2 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3182, allocations: 421.1 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/0.3182, allocations: 105 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.3183, allocations: 108.9 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.153e-05/0.3183, allocations: 184.2 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.3184, allocations: 176.3 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-05/0.3185, allocations: 188.2 kB / 1.096 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.986e-05/0.3185, allocations: 180.3 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.3187, allocations: 311.7 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.3188, allocations: 182 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.3188, allocations: 184.2 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3189, allocations: 105 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.319, allocations: 180.3 kB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.319, allocations: 108.9 kB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.002e-05/0.3191, allocations: 101.2 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3191, allocations: 4 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003186/0.3195, allocations: 67.98 kB / 1.098 GB, free: 6.938 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.0007074/0.3202, allocations: 405.6 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.3205, allocations: 219.3 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3205, allocations: 0 / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.3205, allocations: 3.938 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3208, allocations: 459.7 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.3212, allocations: 228.1 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3214, allocations: 0.6885 MB / 1.1 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.3215, allocations: 47.88 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.3215, allocations: 11.42 kB / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3215, allocations: 0 / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of Templates: time 0.004898/0.3264, allocations: 2.587 MB / 1.102 GB, free: 2.328 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