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.001698/0.001698, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 193.3 kB / 16.53 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.7 MB / 0.7452 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 69.5 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3727, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001966/0.3747, allocations: 0.5418 MB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3765, allocations: 1.185 MB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.3765, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.684e-05/0.3767, allocations: 15.97 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.3767, allocations: 7.938 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.3775, allocations: 267.3 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3776, allocations: 79.81 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.3777, allocations: 15.98 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.303e-05/0.3778, allocations: 35.92 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.3778, allocations: 31.91 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3778, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.3783, allocations: 191.6 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3783, allocations: 11.94 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.3784, allocations: 31.84 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.3788, allocations: 251.5 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3788, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3788, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3788, allocations: 0 / 1.071 GB, free: 7.77 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.0005126/0.3793, allocations: 457.3 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3794, allocations: 8.031 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.3795, allocations: 80.22 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3796, allocations: 251.6 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.3797, allocations: 154.9 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.3797, allocations: 158.9 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.022e-05/0.3798, allocations: 117 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3798, allocations: 75.28 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.3799, allocations: 150.6 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/0.3799, allocations: 150.6 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.38, allocations: 154.5 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.3803, allocations: 469.9 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.3804, allocations: 173 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.3804, allocations: 80.14 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3805, allocations: 79.27 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.3805, allocations: 117.8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3805, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001142/0.3806, allocations: 37.61 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3807, allocations: 130.7 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3809, allocations: 147.3 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3809, allocations: 25.7 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.381, allocations: 92.14 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.381, allocations: 0 / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.381, allocations: 45.69 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.3811, allocations: 322.8 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3813, allocations: 59.94 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-05/0.3814, allocations: 55.95 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3815, allocations: 102.6 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3815, allocations: 0 / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003696/0.3819, allocations: 227.2 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.3819, allocations: 41.69 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.382, allocations: 3.984 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.382, allocations: 4.062 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.382, allocations: 0 / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.382, allocations: 0 / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.3823, allocations: 27.88 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.3824, allocations: 23.86 kB / 1.075 GB, free: 3.574 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.0001177/0.3825, allocations: 198.6 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3826, allocations: 108.8 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.3826, allocations: 124.3 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/0.3827, allocations: 188.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.106e-05/0.3827, allocations: 176.3 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.3828, allocations: 184.2 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.383, allocations: 413.2 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/0.3831, allocations: 105 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3831, allocations: 112.9 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.674e-05/0.3832, allocations: 180.2 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.3832, allocations: 180.2 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-05/0.3833, allocations: 180.3 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.928e-05/0.3833, allocations: 176.3 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3835, allocations: 315.7 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.3836, allocations: 190 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.3836, allocations: 176.3 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.3837, allocations: 105 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.3838, allocations: 192.2 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3838, allocations: 101 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.29e-05/0.3839, allocations: 101.1 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3839, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003483/0.3843, allocations: 79.83 kB / 1.078 GB, free: 15.84 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.00979/0.3941, allocations: 405.1 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.3944, allocations: 215.3 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3945, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.3945, allocations: 4.062 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3949, allocations: 459.7 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.3953, allocations: 232.4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3956, allocations: 0.6768 MB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.3957, allocations: 63.73 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.3957, allocations: 7.438 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.3957, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.005565/0.4013, allocations: 2.591 MB / 1.083 GB, free: 11.23 MB / 0.8419 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