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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00113/0.00113, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008905/0.008905, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.459/1.459, 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 11.0.1-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 5.969 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3317, allocations: 159.6 MB / 1.059 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0009406/0.3327, allocations: 278.2 kB / 1.059 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3349, allocations: 1.198 MB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.335, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3351, allocations: 3.984 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.3351, allocations: 0 / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007792/0.3359, allocations: 247.5 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3361, allocations: 75.88 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.3361, allocations: 11.92 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.3362, allocations: 31.97 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.3363, allocations: 47.83 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3363, allocations: 4 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.3368, allocations: 179.7 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.3369, allocations: 7.938 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.3369, allocations: 61.53 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.3374, allocations: 259.5 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3374, allocations: 4 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.639e-06/0.3374, allocations: 3.984 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3374, allocations: 0 / 1.061 GB, free: 3.121 MB / 0.8106 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.0004481/0.3379, allocations: 413.4 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3379, allocations: 8.031 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.338, allocations: 84.12 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3382, allocations: 255.6 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.3383, allocations: 158.9 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.3384, allocations: 154.9 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.17e-05/0.3385, allocations: 109.1 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.3385, allocations: 75.28 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/0.3385, allocations: 150.6 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.3386, allocations: 154.5 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.3387, allocations: 154.6 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.3391, allocations: 477.8 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.3392, allocations: 165.1 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3392, allocations: 80.14 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.3392, allocations: 83.28 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.3393, allocations: 121.7 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.3393, allocations: 3.938 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.429e-05/0.3394, allocations: 29.7 kB / 1.064 GB, free: 324 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.3395, allocations: 134.7 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3397, allocations: 144.2 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.3397, allocations: 29.7 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.3398, allocations: 100.1 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.3398, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.3398, allocations: 13.72 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.34, allocations: 318.8 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3401, allocations: 59.94 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.3402, allocations: 59.95 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3403, allocations: 94.45 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3403, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004218/0.3408, allocations: 239.1 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.3408, allocations: 45.69 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3408, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3409, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3409, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3409, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.3412, allocations: 23.89 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.3412, allocations: 11.98 kB / 1.065 GB, free: 14.99 MB / 0.8262 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.0001519/0.3414, allocations: 206.7 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.3415, allocations: 112.8 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.3416, allocations: 108.5 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.079e-05/0.3416, allocations: 184.2 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-05/0.3417, allocations: 184.3 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.415e-05/0.3418, allocations: 180.3 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.3421, allocations: 421.1 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.3421, allocations: 101 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.3422, allocations: 112.8 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.982e-05/0.3422, allocations: 176.3 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.3423, allocations: 180.3 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-05/0.3424, allocations: 184.2 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.456e-05/0.3425, allocations: 180.3 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3427, allocations: 307.7 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3428, allocations: 194 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.3429, allocations: 184.2 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.343, allocations: 117 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.3431, allocations: 184.2 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.3432, allocations: 101.3 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.3432, allocations: 103.3 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003768/0.3436, allocations: 79.88 kB / 1.068 GB, free: 11.25 MB / 0.8262 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.002159/0.3458, allocations: 406.7 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.3461, allocations: 223.2 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3461, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.3462, allocations: 4 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3466, allocations: 0.5224 MB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.347, allocations: 243.5 kB / 1.07 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3473, allocations: 0.6809 MB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.175e-05/0.3474, allocations: 55.8 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.3474, allocations: 11.38 kB / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3474, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of Templates: time 0.00665/0.354, allocations: 2.545 MB / 1.073 GB, free: 6.578 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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