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.001671/0.001671, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.002167/0.002167, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8587, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001776/0.8605, allocations: 0.5507 MB / 1.089 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.8622, allocations: 1.186 MB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.8622, allocations: 1.062 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.8623, allocations: 6.109 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.8624, allocations: 0 / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.8631, allocations: 284 kB / 1.091 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.8632, allocations: 77.98 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.8633, allocations: 4.797 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.8634, allocations: 41.02 kB / 1.091 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.834e-05/0.8635, allocations: 46.56 kB / 1.091 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.8635, allocations: 3.656 kB / 1.091 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.8639, allocations: 200.5 kB / 1.091 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.864, allocations: 13.83 kB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.864, allocations: 26.2 kB / 1.091 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.8645, allocations: 258.2 kB / 1.091 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.8645, allocations: 4.781 kB / 1.091 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8645, allocations: 0 / 1.091 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.8645, allocations: 0 / 1.091 GB, free: 4.27 MB / 0.8575 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.0004146/0.8649, allocations: 443 kB / 1.092 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.865, allocations: 12.19 kB / 1.092 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.865, allocations: 82.38 kB / 1.092 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.8652, allocations: 261 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.8652, allocations: 157.5 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.8653, allocations: 156.5 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.852e-05/0.8653, allocations: 106.4 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8653, allocations: 84.31 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.8654, allocations: 155.2 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.8654, allocations: 151.5 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.8654, allocations: 150.6 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.8657, allocations: 473.5 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.8657, allocations: 174.5 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.8658, allocations: 85.05 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.8658, allocations: 75.89 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.8658, allocations: 110.6 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.8658, allocations: 0 / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.922e-05/0.8659, allocations: 41.22 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/0.866, allocations: 52.81 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.8661, allocations: 148 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.8661, allocations: 28.23 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.8662, allocations: 94.27 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.8662, allocations: 0 / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.8663, allocations: 42.17 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.8664, allocations: 319.2 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.8665, allocations: 63.2 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.8666, allocations: 59.94 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.8668, allocations: 94.31 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8668, allocations: 0.9375 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004303/0.8672, allocations: 228 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.8673, allocations: 50.16 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8673, allocations: 4.859 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8673, allocations: 0.6562 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.8673, allocations: 0 / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8673, allocations: 1.484 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.8676, allocations: 35.33 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.8677, allocations: 13.47 kB / 1.095 GB, free: 0.6992 MB / 0.8575 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 8.596e-05/0.8678, allocations: 198 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.8678, allocations: 113.2 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.8679, allocations: 115.4 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.601e-05/0.8679, allocations: 182.9 kB / 1.096 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/0.868, allocations: 106.3 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.8681, allocations: 180.5 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.8682, allocations: 186.2 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.8682, allocations: 106.4 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.8683, allocations: 178.6 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001002/0.8684, allocations: 261 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001733/0.8686, allocations: 386.9 kB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.443e-05/0.8687, allocations: 106.5 kB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.8687, allocations: 106.5 kB / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of Backend: time 1.9e-07/0.8688, allocations: 0 / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.8701, allocations: 0.5352 MB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0005632/0.8707, allocations: 0.8609 MB / 1.098 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.006734/0.8774, allocations: 2.618 MB / 1.101 GB, free: 13.04 MB / 0.8731 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/jenkins1/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