Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009221/0.000922, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009597/0.0009597, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9088, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0008343/0.9097, allocations: 271.8 kB / 1.021 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.9113, allocations: 1.121 MB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.9113, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.9114, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.9115, allocations: 7.984 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.9121, allocations: 239.4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.994e-05/0.9122, allocations: 39.94 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.9123, allocations: 8 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.9123, allocations: 51.88 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.9124, allocations: 35.91 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.9124, allocations: 4 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.9129, allocations: 147.8 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.9129, allocations: 7.984 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.913, allocations: 33.64 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.9132, allocations: 191.7 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.9133, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9133, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.9133, allocations: 4 kB / 1.023 GB, free: 14.95 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.000397/0.9137, allocations: 410.9 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.9137, allocations: 15.92 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.9138, allocations: 87.19 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.914, allocations: 250.3 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.9141, allocations: 158.5 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.9141, allocations: 162.6 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.28e-05/0.9142, allocations: 108.9 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.9143, allocations: 75.28 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.9143, allocations: 150.6 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/0.9144, allocations: 150.6 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.9144, allocations: 154.5 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.9148, allocations: 473.9 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.9149, allocations: 177.1 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.915, allocations: 83.23 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.915, allocations: 105.8 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.915, allocations: 7.938 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.956e-05/0.9151, allocations: 37.61 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.9152, allocations: 130.7 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.9154, allocations: 148.2 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.9154, allocations: 25.7 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.9155, allocations: 96.12 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.9155, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.9155, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9157, allocations: 326.8 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.9159, allocations: 59.94 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.916, allocations: 55.95 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.9161, allocations: 89.66 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9161, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003784/0.9165, allocations: 227.2 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.9165, allocations: 47.52 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9165, allocations: 0 / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.9165, allocations: 0 / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-06/0.9166, allocations: 8.062 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.9166, allocations: 4.062 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.9169, allocations: 27.81 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.917, allocations: 19.98 kB / 1.027 GB, free: 10.91 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 (yI1[1],yI2[1],yI2[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.9171, allocations: 193.1 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.9172, allocations: 108.9 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.9173, allocations: 116.5 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-05/0.9173, allocations: 184.2 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.704e-05/0.9174, allocations: 176.3 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.166e-05/0.9175, allocations: 180.2 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.9177, allocations: 417.1 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/0.9178, allocations: 104.9 kB / 1.028 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.9178, allocations: 116.9 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.218e-05/0.9179, allocations: 176.3 kB / 1.028 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.918, allocations: 176.3 kB / 1.028 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.787e-05/0.918, allocations: 188.1 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.677e-05/0.9181, allocations: 180.3 kB / 1.029 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.9183, allocations: 315.7 kB / 1.029 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.9184, allocations: 190 kB / 1.029 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.9185, allocations: 188.2 kB / 1.029 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.9186, allocations: 101 kB / 1.03 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.9187, allocations: 184.2 kB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.9188, allocations: 109 kB / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.9189, allocations: 103.2 kB / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9189, allocations: 0 / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003921/0.9193, allocations: 71.98 kB / 1.03 GB, free: 7.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000755/0.92, allocations: 406.6 kB / 1.03 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.9203, allocations: 219.2 kB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9203, allocations: 0 / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-06/0.9203, allocations: 0 / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.9208, allocations: 0.5186 MB / 1.031 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.9213, allocations: 226.3 kB / 1.031 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.9216, allocations: 0.6887 MB / 1.032 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.75e-05/0.9217, allocations: 59.8 kB / 1.032 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.9217, allocations: 11.38 kB / 1.032 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.9217, allocations: 0 / 1.032 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.005673/0.9274, allocations: 2.515 MB / 1.035 GB, free: 2.562 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches