Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001915/0.001915, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002056/0.002057, allocations: 192.3 kB / 16.14 MB, free: 6.719 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6177, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001889/0.6196, allocations: 0.6121 MB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.6217, allocations: 1.206 MB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.6217, allocations: 0 / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.205e-05/0.6218, allocations: 0 / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.6219, allocations: 0 / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.6225, allocations: 247.2 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.6227, allocations: 79.8 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.6227, allocations: 4 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.6228, allocations: 39.89 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.6228, allocations: 47.84 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.6229, allocations: 4 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.6233, allocations: 179.7 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.6233, allocations: 8 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.6234, allocations: 31.84 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.6238, allocations: 263.5 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6238, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6238, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6238, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 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.0004973/0.6243, allocations: 443 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6243, allocations: 12.03 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.6244, allocations: 84.12 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.6246, allocations: 255.6 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.6247, allocations: 158.9 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.6248, allocations: 158.9 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.6249, allocations: 113.1 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.6249, allocations: 79.28 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.625, allocations: 150.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.6251, allocations: 154.5 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.6251, allocations: 150.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.6255, allocations: 481.7 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.6256, allocations: 169.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.6257, allocations: 84.14 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.6257, allocations: 79.28 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.6258, allocations: 109.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6258, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001079/0.6259, allocations: 37.64 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.626, allocations: 130.7 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.6262, allocations: 151.5 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.6262, allocations: 29.7 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.6263, allocations: 92.12 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.6263, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.6264, allocations: 41.69 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6266, allocations: 326.8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.6267, allocations: 55.95 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.6268, allocations: 59.94 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.627, allocations: 94.53 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.627, allocations: 3.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004282/0.6274, allocations: 235 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.6275, allocations: 48.03 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6275, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6275, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.6275, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6275, allocations: 4.062 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.6279, allocations: 27.88 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.6279, allocations: 8 kB / 1.023 GB, free: 11.85 MB / 0.7794 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.0001416/0.6281, allocations: 205 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.6282, allocations: 108.9 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.6282, allocations: 120.4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.539e-05/0.6283, allocations: 180.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.059e-05/0.6284, allocations: 184.2 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.039e-05/0.6285, allocations: 180.3 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.6288, allocations: 409.2 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.152e-05/0.6288, allocations: 108.9 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.6289, allocations: 104.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.629, allocations: 184.2 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.629, allocations: 184.3 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.563e-05/0.6291, allocations: 180.3 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.029e-05/0.6292, allocations: 180.2 kB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.6294, allocations: 311.7 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.6295, allocations: 194 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.6296, allocations: 180.2 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.6297, allocations: 104.9 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.6298, allocations: 180.3 kB / 1.026 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.6298, allocations: 104.9 kB / 1.026 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.6299, allocations: 113.1 kB / 1.026 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6299, allocations: 0 / 1.026 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004009/0.6303, allocations: 67.98 kB / 1.027 GB, free: 8.117 MB / 0.7794 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.0009137/0.6312, allocations: 405.9 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.6316, allocations: 211.3 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6316, allocations: 0 / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.6316, allocations: 0 / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.632, allocations: 0.5341 MB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.6324, allocations: 242.1 kB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.6327, allocations: 0.677 MB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.718e-05/0.6328, allocations: 55.86 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.6328, allocations: 7.438 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6328, allocations: 0 / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of Templates: time 0.005836/0.6387, allocations: 2.568 MB / 1.031 GB, free: 3.438 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches