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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002057/0.002056, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002507/0.002507, allocations: 197.3 kB / 16.14 MB, free: 6.699 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 482.4 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 71.2 kB / 0.9231 GB, free: 29.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3397, allocations: 162.2 MB / 1.082 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001911/0.3417, allocations: 0.6006 MB / 1.082 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3436, allocations: 1.21 MB / 1.083 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.3436, allocations: 0 / 1.083 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.745e-05/0.3437, allocations: 7.984 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.3438, allocations: 0 / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.3444, allocations: 247.6 kB / 1.084 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3445, allocations: 75.8 kB / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.3446, allocations: 4 kB / 1.084 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.3446, allocations: 43.84 kB / 1.084 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.3447, allocations: 35.91 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.3447, allocations: 4 kB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.3452, allocations: 179.7 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.3452, allocations: 11.98 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.3453, allocations: 43.78 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.3457, allocations: 247.6 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.3457, allocations: 0 / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.01e-07/0.3457, allocations: 0 / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.3457, allocations: 0 / 1.084 GB, free: 11.06 MB / 0.8419 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.0004818/0.3462, allocations: 450.9 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3463, allocations: 8.031 kB / 1.085 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.3464, allocations: 92.06 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3466, allocations: 247.7 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.3466, allocations: 162.9 kB / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.3467, allocations: 162.9 kB / 1.085 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.3468, allocations: 109.1 kB / 1.085 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.3468, allocations: 75.28 kB / 1.085 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.3469, allocations: 154.6 kB / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.347, allocations: 154.5 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.341e-05/0.347, allocations: 154.5 kB / 1.086 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.3474, allocations: 469.9 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.3475, allocations: 173.1 kB / 1.087 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.3476, allocations: 80.14 kB / 1.087 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3476, allocations: 75.28 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.3477, allocations: 113.8 kB / 1.087 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3477, allocations: 0 / 1.087 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/0.3478, allocations: 45.55 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3478, allocations: 126.7 kB / 1.087 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.348, allocations: 141.7 kB / 1.087 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.348, allocations: 33.7 kB / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3481, allocations: 92.12 kB / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.3481, allocations: 3.984 kB / 1.087 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.3482, allocations: 41.69 kB / 1.087 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3484, allocations: 314.8 kB / 1.088 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3485, allocations: 63.94 kB / 1.088 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3486, allocations: 59.95 kB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3487, allocations: 102.5 kB / 1.088 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3488, allocations: 0 / 1.088 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004203/0.3492, allocations: 231.1 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.3493, allocations: 41.69 kB / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3493, allocations: 0 / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3493, allocations: 0 / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3493, allocations: 0 / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3493, allocations: 3.984 kB / 1.088 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.3496, allocations: 23.92 kB / 1.088 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.3497, allocations: 24.02 kB / 1.088 GB, free: 6.855 MB / 0.8419 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.0001393/0.3498, allocations: 193.1 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.3499, allocations: 116.8 kB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.35, allocations: 112.3 kB / 1.088 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.737e-05/0.3501, allocations: 184.3 kB / 1.089 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-05/0.3501, allocations: 188.2 kB / 1.089 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.155e-05/0.3502, allocations: 176.3 kB / 1.089 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.3505, allocations: 413.2 kB / 1.089 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.656e-05/0.3505, allocations: 109 kB / 1.089 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.3506, allocations: 104.9 kB / 1.09 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-05/0.3507, allocations: 188.1 kB / 1.09 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/0.3508, allocations: 184.2 kB / 1.09 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.329e-05/0.3508, allocations: 180.2 kB / 1.09 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-05/0.3509, allocations: 176.3 kB / 1.09 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3511, allocations: 315.7 kB / 1.091 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.3512, allocations: 186 kB / 1.091 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.3513, allocations: 180.2 kB / 1.091 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3514, allocations: 105 kB / 1.091 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.3515, allocations: 180.3 kB / 1.091 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.3515, allocations: 108.9 kB / 1.091 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.3516, allocations: 106.1 kB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3516, allocations: 0 / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003764/0.352, allocations: 83.83 kB / 1.091 GB, free: 3.121 MB / 0.8419 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.0009303/0.3529, allocations: 400 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.3532, allocations: 215.3 kB / 1.092 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3533, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-06/0.3533, allocations: 3.938 kB / 1.092 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3537, allocations: 0.5224 MB / 1.093 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.354, allocations: 250.2 kB / 1.093 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3543, allocations: 0.677 MB / 1.093 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.818e-05/0.3544, allocations: 47.88 kB / 1.094 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.3544, allocations: 11.42 kB / 1.094 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3544, allocations: 0 / 1.094 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of Templates: time 0.005843/0.3603, allocations: 2.581 MB / 1.096 GB, free: 14.44 MB / 0.8575 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=400 -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