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.007319/0.007319, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001446/0.001446, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.471/2.471, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 68.12 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8428, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001812/0.8446, allocations: 0.5447 MB / 1.167 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.8464, allocations: 1.201 MB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.8465, allocations: 0 / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.92e-05/0.8466, allocations: 11.98 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.8466, allocations: 0 / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.8473, allocations: 280.4 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.8475, allocations: 71.88 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.8475, allocations: 7.984 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.8476, allocations: 39.86 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.8477, allocations: 43.89 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.8477, allocations: 4 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.8481, allocations: 211.6 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.8481, allocations: 11.92 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.8482, allocations: 31.84 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.8485, allocations: 251.9 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8485, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8485, allocations: 0 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.8486, allocations: 3.938 kB / 1.169 GB, free: 1.113 MB / 0.8887 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.0004684/0.849, allocations: 454.5 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.8491, allocations: 8.031 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.8492, allocations: 88.22 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.8494, allocations: 255.6 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.8494, allocations: 154.9 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.8495, allocations: 154.9 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.8496, allocations: 109.1 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.8496, allocations: 75.28 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.8497, allocations: 150.6 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.8498, allocations: 154.5 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.8498, allocations: 154.6 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.8501, allocations: 477.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.657e-05/0.8502, allocations: 173.2 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.8503, allocations: 80.14 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.8503, allocations: 75.28 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.8504, allocations: 113.7 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.8504, allocations: 4 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.684e-05/0.8505, allocations: 37.66 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.8505, allocations: 126.7 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.8507, allocations: 141.8 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.8507, allocations: 29.7 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.8508, allocations: 96.08 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.8508, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.8509, allocations: 45.69 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.851, allocations: 322.8 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.8511, allocations: 59.95 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.8512, allocations: 63.94 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.8514, allocations: 94.45 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8514, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003812/0.8518, allocations: 227.2 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.8518, allocations: 45.69 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8518, allocations: 0 / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.8519, allocations: 4 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.8519, allocations: 4.062 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.8519, allocations: 0 / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.8522, allocations: 31.92 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.8522, allocations: 12 kB / 1.173 GB, free: 12.92 MB / 0.9044 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.0001194/0.8523, allocations: 197.1 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.8524, allocations: 116.8 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.8525, allocations: 116.5 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.8526, allocations: 180.2 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.821e-05/0.8526, allocations: 184.2 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/0.8527, allocations: 176.4 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.8529, allocations: 421.2 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/0.853, allocations: 101 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.853, allocations: 116.9 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.458e-05/0.8531, allocations: 176.3 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/0.8532, allocations: 180.3 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.547e-05/0.8532, allocations: 184.1 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-05/0.8533, allocations: 188.2 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.8535, allocations: 315.8 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.8536, allocations: 186 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.709e-05/0.8536, allocations: 188.2 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.8537, allocations: 101 kB / 1.176 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.8538, allocations: 180.2 kB / 1.176 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.8538, allocations: 105 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.8539, allocations: 108.5 kB / 1.176 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8539, allocations: 0 / 1.176 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003429/0.8543, allocations: 71.73 kB / 1.176 GB, free: 9.176 MB / 0.9044 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.0007155/0.855, allocations: 397.4 kB / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.8553, allocations: 219.2 kB / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8553, allocations: 0 / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.8553, allocations: 0 / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.8557, allocations: 465.8 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.8561, allocations: 220 kB / 1.178 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.8563, allocations: 0.6807 MB / 1.178 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.616e-05/0.8564, allocations: 51.8 kB / 1.178 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.8564, allocations: 15.44 kB / 1.178 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.8564, allocations: 0 / 1.178 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of Templates: time 0.005462/0.8619, allocations: 2.599 MB / 1.181 GB, free: 4.57 MB / 0.9044 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