Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0009663/0.0009664, allocations: 97.64 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.007618/0.007619, allocations: 170.1 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.95/2.95, allocations: 470.6 MB / 0.7442 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004251, allocations: 12.02 kB / 0.9123 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0009238/0.3384, allocations: 286.2 kB / 1.07 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3403, allocations: 1.193 MB / 1.071 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.3403, allocations: 3.938 kB / 1.071 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.547e-05/0.3404, allocations: 4 kB / 1.071 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.3405, allocations: 7.938 kB / 1.071 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.3411, allocations: 237.3 kB / 1.072 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3412, allocations: 75.86 kB / 1.072 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3413, allocations: 7.938 kB / 1.072 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.3413, allocations: 35.97 kB / 1.072 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.3414, allocations: 39.84 kB / 1.072 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.3414, allocations: 4 kB / 1.072 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.3418, allocations: 187.7 kB / 1.072 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.3419, allocations: 11.98 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.342, allocations: 57.55 kB / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.3423, allocations: 255.5 kB / 1.072 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3423, allocations: 4 kB / 1.072 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3423, allocations: 0 / 1.072 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3424, allocations: 0 / 1.072 GB, free: 9.035 MB / 0.8262 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.0004539/0.3428, allocations: 417.4 kB / 1.073 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3429, allocations: 12.02 kB / 1.073 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.343, allocations: 84.22 kB / 1.073 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3432, allocations: 251.6 kB / 1.073 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/0.3432, allocations: 158.9 kB / 1.073 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.3433, allocations: 158.9 kB / 1.073 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/0.3434, allocations: 109 kB / 1.073 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.3435, allocations: 75.28 kB / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.3435, allocations: 150.6 kB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.3436, allocations: 150.6 kB / 1.074 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.3437, allocations: 154.6 kB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.344, allocations: 469.9 kB / 1.074 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.3441, allocations: 173.1 kB / 1.074 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.3442, allocations: 80.14 kB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3442, allocations: 79.28 kB / 1.075 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.3443, allocations: 113.8 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3443, allocations: 3.938 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.759e-05/0.3444, allocations: 41.67 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.3445, allocations: 126.7 kB / 1.075 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3446, allocations: 143.6 kB / 1.075 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3447, allocations: 29.7 kB / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.3448, allocations: 104 kB / 1.075 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.3448, allocations: 0 / 1.075 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.3448, allocations: 13.72 kB / 1.075 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.345, allocations: 322.8 kB / 1.075 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3451, allocations: 59.94 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3452, allocations: 67.88 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3454, allocations: 90.53 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3454, allocations: 0 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004181/0.3458, allocations: 231.2 kB / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.3459, allocations: 45.75 kB / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3459, allocations: 0 / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3459, allocations: 0 / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.3459, allocations: 4.062 kB / 1.076 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3459, allocations: 3.984 kB / 1.076 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3462, allocations: 31.88 kB / 1.076 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.3463, allocations: 15.94 kB / 1.076 GB, free: 4.891 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.0001412/0.3464, allocations: 193.1 kB / 1.076 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.3465, allocations: 120.8 kB / 1.076 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.3466, allocations: 108.5 kB / 1.076 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/0.3466, allocations: 184.2 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.729e-05/0.3467, allocations: 180.3 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.239e-05/0.3468, allocations: 180.2 kB / 1.077 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3471, allocations: 421.2 kB / 1.077 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/0.3471, allocations: 105 kB / 1.077 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.3472, allocations: 108.9 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.3473, allocations: 180.3 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/0.3473, allocations: 180.2 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.345e-05/0.3474, allocations: 176.3 kB / 1.078 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-05/0.3475, allocations: 184.3 kB / 1.078 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.3477, allocations: 311.7 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3478, allocations: 194 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.3479, allocations: 180.3 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.348, allocations: 113 kB / 1.079 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.3481, allocations: 180.2 kB / 1.079 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.3481, allocations: 101 kB / 1.079 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.3482, allocations: 107.2 kB / 1.079 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3482, allocations: 0 / 1.079 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003658/0.3486, allocations: 75.89 kB / 1.079 GB, free: 1.16 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.0009087/0.3495, allocations: 409.5 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.3498, allocations: 219.3 kB / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3498, allocations: 0 / 1.08 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.3499, allocations: 4 kB / 1.08 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3503, allocations: 0.5278 MB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.3506, allocations: 238.3 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.351, allocations: 0.677 MB / 1.081 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.062e-05/0.3511, allocations: 59.73 kB / 1.081 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.3511, allocations: 11.38 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3511, allocations: 4 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.00616/0.3573, allocations: 2.557 MB / 1.084 GB, free: 12.48 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches