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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.000852/0.0008521, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009204/0.0009202, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.886/2.886, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 10.56 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3752, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0008384/0.3761, allocations: 266.2 kB / 1.058 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3779, allocations: 1.128 MB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.378, allocations: 0 / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3781, allocations: 15.92 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.3782, allocations: 0 / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.379, allocations: 235.5 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3792, allocations: 63.86 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.607e-05/0.3792, allocations: 11.98 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.3793, allocations: 39.91 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.3794, allocations: 39.91 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3794, allocations: 4 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.3799, allocations: 171.7 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.38, allocations: 7.984 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.38, allocations: 37.64 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.3803, allocations: 187.7 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3804, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3804, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3804, allocations: 0 / 1.06 GB, free: 3.137 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.00054/0.3809, allocations: 417.2 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.381, allocations: 8.031 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3811, allocations: 87.19 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.3813, allocations: 254.3 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.3814, allocations: 154.6 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.3815, allocations: 158.6 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.3816, allocations: 104.9 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/0.3817, allocations: 79.27 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.3817, allocations: 150.6 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.911e-05/0.3818, allocations: 154.5 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.3819, allocations: 154.6 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.3824, allocations: 473.8 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3825, allocations: 177 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.3826, allocations: 84.14 kB / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3826, allocations: 79.28 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.3828, allocations: 109.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3828, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001045/0.383, allocations: 33.7 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.383, allocations: 126.7 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.3834, allocations: 145.7 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3834, allocations: 33.64 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3836, allocations: 92.19 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.3836, allocations: 3.938 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.3836, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.3839, allocations: 318.8 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.384, allocations: 55.95 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3841, allocations: 63.94 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3843, allocations: 85.73 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3843, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00045/0.3848, allocations: 235.2 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/0.3848, allocations: 45.69 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3849, allocations: 4 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3849, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.3849, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3849, allocations: 3.984 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3852, allocations: 19.89 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.3853, allocations: 19.98 kB / 1.064 GB, free: 15.03 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 (yI1[1],yI2[1],yI2[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.3854, allocations: 197.1 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.3855, allocations: 116.8 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.3856, allocations: 116.5 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.95e-05/0.3857, allocations: 180.2 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-05/0.3858, allocations: 176.3 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.864e-05/0.3859, allocations: 184.3 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3862, allocations: 413.2 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/0.3863, allocations: 105 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.3863, allocations: 112.9 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-05/0.3864, allocations: 180.2 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.3865, allocations: 176.3 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-05/0.3866, allocations: 184.2 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.254e-05/0.3867, allocations: 180.3 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.3868, allocations: 315.6 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.387, allocations: 198 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.387, allocations: 180.2 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3872, allocations: 105 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.3872, allocations: 188.2 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.3873, allocations: 101 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.111e-05/0.3874, allocations: 110.6 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000437/0.3878, allocations: 75.89 kB / 1.067 GB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007977/0.3886, allocations: 409 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.3889, allocations: 219.3 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.389, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.389, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3894, allocations: 0.5224 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3897, allocations: 238.2 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3899, allocations: 0.677 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.39, allocations: 55.8 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.3901, allocations: 7.438 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3901, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.00552/0.3956, allocations: 2.53 MB / 1.072 GB, free: 6.664 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