Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001245/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001315/0.001315, allocations: 191 kB / 16.14 MB, free: 6.645 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 59.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8339, allocations: 140.4 MB / 0.9489 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002199/0.8361, allocations: 0.6112 MB / 0.9495 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.8377, allocations: 1.201 MB / 0.9507 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.8378, allocations: 0 / 0.9507 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.698e-05/0.8379, allocations: 1.375 kB / 0.9507 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.8379, allocations: 3.938 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.8385, allocations: 251.9 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.8386, allocations: 78.36 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.8387, allocations: 3.281 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.8387, allocations: 35.58 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.8388, allocations: 45.05 kB / 0.9511 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.8388, allocations: 7.031 kB / 0.9511 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.8392, allocations: 183.4 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.8393, allocations: 11.48 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.8394, allocations: 31.03 kB / 0.9513 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.8397, allocations: 252.9 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8397, allocations: 5.266 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.8397, allocations: 3.938 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.8398, allocations: 0 / 0.9516 GB, free: 7.422 MB / 0.7169 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.0004076/0.8402, allocations: 449.3 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.8402, allocations: 10.28 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.8403, allocations: 85.47 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.8404, allocations: 246.7 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.8405, allocations: 153.8 kB / 0.9525 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.8405, allocations: 157.6 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.943e-05/0.8406, allocations: 113 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8406, allocations: 80.81 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.8406, allocations: 154.6 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.8407, allocations: 154.5 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.8407, allocations: 151.8 kB / 0.9532 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.8409, allocations: 465.9 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.841, allocations: 173.1 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.841, allocations: 85.47 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.841, allocations: 75.28 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.841, allocations: 111 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.841, allocations: 0 / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.8411, allocations: 39.8 kB / 0.9541 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.8412, allocations: 131.7 kB / 0.9543 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.8413, allocations: 144.1 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.8413, allocations: 28.27 kB / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.8414, allocations: 88.86 kB / 0.9545 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.8414, allocations: 1.031 kB / 0.9545 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.8415, allocations: 50.31 kB / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.8415, allocations: 317.4 kB / 0.9549 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.8416, allocations: 65.19 kB / 0.9549 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.8417, allocations: 57.05 kB / 0.955 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.8419, allocations: 103.9 kB / 0.9551 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8419, allocations: 0 / 0.9551 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003802/0.8423, allocations: 231.4 kB / 0.9553 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.8423, allocations: 47.92 kB / 0.9554 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8423, allocations: 0 / 0.9554 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8423, allocations: 1.188 kB / 0.9554 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.8424, allocations: 0 / 0.9554 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8424, allocations: 8 kB / 0.9554 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.8427, allocations: 30.36 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.8428, allocations: 18.02 kB / 0.9554 GB, free: 3.633 MB / 0.7169 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 9.472e-05/0.8429, allocations: 194 kB / 0.9556 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.8429, allocations: 108.3 kB / 0.9557 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.843, allocations: 114.6 kB / 0.9558 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.843, allocations: 189.1 kB / 0.956 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.843, allocations: 177.4 kB / 0.9562 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.8431, allocations: 181.4 kB / 0.9563 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.8432, allocations: 409.1 kB / 0.9567 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.8432, allocations: 101 kB / 0.9568 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.8432, allocations: 113.8 kB / 0.9569 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/0.8433, allocations: 185.5 kB / 0.9571 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.8433, allocations: 185.4 kB / 0.9573 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/0.8433, allocations: 177.2 kB / 0.9574 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.673e-05/0.8434, allocations: 177.4 kB / 0.9576 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.642e-05/0.8435, allocations: 317.5 kB / 0.9579 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.8435, allocations: 190.9 kB / 0.9581 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.8435, allocations: 178.4 kB / 0.9583 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.8436, allocations: 101 kB / 0.9584 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.8436, allocations: 193.2 kB / 0.9585 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.8437, allocations: 106.2 kB / 0.9586 GB, free: 124 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.8437, allocations: 100.4 kB / 0.9587 GB, free: 40 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8437, allocations: 3.938 kB / 0.9587 GB, free: 36 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003766/0.8441, allocations: 72.56 kB / 0.9588 GB, free: 12 kB / 0.7169 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.0008/0.8449, allocations: 401.1 kB / 0.9592 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.8452, allocations: 214.8 kB / 0.9594 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8452, allocations: 0 / 0.9594 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.8453, allocations: 1.156 kB / 0.9594 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.8457, allocations: 0.5248 MB / 0.9599 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.846, allocations: 234.4 kB / 0.9601 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8462, allocations: 0.6789 MB / 0.9608 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.43e-05/0.8463, allocations: 62.83 kB / 0.9609 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.8463, allocations: 14.22 kB / 0.9609 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8463, allocations: 0 / 0.9609 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.005345/0.8517, allocations: 2.566 MB / 0.9634 GB, free: 12.8 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches