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.001036/0.001036, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008668/0.008668, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.615/2.615, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004241, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7156, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0007821/0.7164, allocations: 283.8 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.7182, allocations: 1.187 MB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.7182, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.375e-05/0.7183, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.7183, allocations: 11.94 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.7189, allocations: 243.6 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.719, allocations: 71.86 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.719, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.7191, allocations: 39.91 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.7191, allocations: 39.89 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.7192, allocations: 7.938 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.7195, allocations: 183.7 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.7196, allocations: 7.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.7196, allocations: 61.48 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.72, allocations: 263.5 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.72, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.72, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.72, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 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.0004187/0.7204, allocations: 415.1 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7205, allocations: 8.031 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.7205, allocations: 96.12 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.7207, allocations: 247.7 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.7208, allocations: 150.9 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.7209, allocations: 158.9 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.734e-05/0.7209, allocations: 105.1 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.721, allocations: 79.28 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.721, allocations: 158.5 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-05/0.7211, allocations: 150.6 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.7212, allocations: 154.6 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.7215, allocations: 465.9 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.7216, allocations: 181.1 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.7216, allocations: 80.14 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.7216, allocations: 79.22 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.7217, allocations: 113.8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.7217, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.684e-05/0.7218, allocations: 37.61 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7218, allocations: 130.7 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.722, allocations: 152 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.722, allocations: 29.7 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.7221, allocations: 96.11 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.7221, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.7221, allocations: 17.72 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7223, allocations: 318.8 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.7224, allocations: 55.95 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.927e-05/0.7225, allocations: 75.88 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.7226, allocations: 90.52 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7226, allocations: 0 / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003553/0.723, allocations: 231.1 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.723, allocations: 45.69 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.723, allocations: 0 / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.723, allocations: 0 / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.723, allocations: 0 / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7231, allocations: 0 / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.7234, allocations: 31.81 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.7234, allocations: 16.06 kB / 1.029 GB, free: 9.309 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.0001353/0.7235, allocations: 202.6 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.7236, allocations: 116.8 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.7237, allocations: 108.5 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-05/0.7237, allocations: 188.2 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.526e-05/0.7238, allocations: 180.3 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/0.7239, allocations: 176.3 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.7241, allocations: 413.2 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/0.7241, allocations: 109 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.7242, allocations: 108.9 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-05/0.7243, allocations: 184.3 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.7243, allocations: 184.2 kB / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.832e-05/0.7244, allocations: 184.2 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-05/0.7244, allocations: 180.2 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.7246, allocations: 307.8 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.7247, allocations: 201.9 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.7248, allocations: 180.3 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.7248, allocations: 105 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.7249, allocations: 180.2 kB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.725, allocations: 101 kB / 1.032 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.725, allocations: 107.2 kB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.725, allocations: 0 / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003365/0.7254, allocations: 71.98 kB / 1.033 GB, free: 5.574 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.0006798/0.7261, allocations: 405.5 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.7264, allocations: 215.3 kB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7264, allocations: 0 / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.7264, allocations: 4 kB / 1.033 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.7268, allocations: 0.5279 MB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.7271, allocations: 242.2 kB / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.7273, allocations: 0.677 MB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.084e-05/0.7274, allocations: 55.8 kB / 1.035 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.7274, allocations: 11.44 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7274, allocations: 4 kB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of Templates: time 0.00528/0.7327, allocations: 2.556 MB / 1.037 GB, free: 0.9062 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=480 -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