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.001325/0.001325, allocations: 113.6 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.001253/0.001253, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.7 MB / 0.746 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 68.11 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.979/0.9805, allocations: 159.9 MB / 1.226 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002332/0.9829, allocations: 0.5461 MB / 1.227 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.985, allocations: 1.2 MB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.9851, allocations: 4 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.9852, allocations: 7.938 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.9853, allocations: 0 / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.9862, allocations: 275.3 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.9864, allocations: 71.86 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.9865, allocations: 11.98 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.9866, allocations: 39.91 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.9867, allocations: 43.89 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.9867, allocations: 4 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.9872, allocations: 211.6 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.9873, allocations: 11.92 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.9874, allocations: 31.84 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.9879, allocations: 252.3 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9879, allocations: 0 / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9879, allocations: 4 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.988, allocations: 0 / 1.229 GB, free: 10.96 MB / 0.9512 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.0006344/0.9886, allocations: 444.5 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9887, allocations: 8.031 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.9888, allocations: 88.22 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.989, allocations: 251.6 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.989, allocations: 158.9 kB / 1.23 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.9891, allocations: 162.9 kB / 1.23 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.383e-05/0.9892, allocations: 105.1 kB / 1.23 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.9893, allocations: 75.28 kB / 1.23 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.9893, allocations: 150.6 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.9894, allocations: 150.6 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.9894, allocations: 154.6 kB / 1.231 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.9898, allocations: 473.8 kB / 1.231 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.9899, allocations: 173.2 kB / 1.231 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.99, allocations: 84.14 kB / 1.231 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.99, allocations: 75.28 kB / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.9901, allocations: 113.8 kB / 1.232 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.9901, allocations: 0 / 1.232 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001201/0.9902, allocations: 41.59 kB / 1.232 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.9902, allocations: 51.41 kB / 1.232 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.9904, allocations: 148 kB / 1.232 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.9904, allocations: 29.7 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.9905, allocations: 88.14 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.9905, allocations: 7.938 kB / 1.232 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.9906, allocations: 41.69 kB / 1.232 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9908, allocations: 322.8 kB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.9909, allocations: 55.95 kB / 1.232 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.991, allocations: 63.94 kB / 1.232 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.9912, allocations: 94.52 kB / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9912, allocations: 0 / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000415/0.9916, allocations: 231.2 kB / 1.233 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.9917, allocations: 54.78 kB / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9917, allocations: 0 / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9917, allocations: 0 / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.9917, allocations: 0 / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.9917, allocations: 0 / 1.233 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.992, allocations: 31.91 kB / 1.233 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.9921, allocations: 12 kB / 1.233 GB, free: 6.844 MB / 0.9512 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.0001476/0.9923, allocations: 201.6 kB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.9923, allocations: 116.9 kB / 1.233 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.9924, allocations: 116.4 kB / 1.233 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/0.9925, allocations: 176.3 kB / 1.233 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-05/0.9925, allocations: 105 kB / 1.233 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.9926, allocations: 190.1 kB / 1.234 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/0.9927, allocations: 184.3 kB / 1.234 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.9928, allocations: 112.9 kB / 1.234 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.9929, allocations: 176.3 kB / 1.234 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001213/0.993, allocations: 255.5 kB / 1.234 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002277/0.9933, allocations: 391 kB / 1.235 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.962e-05/0.9933, allocations: 108.9 kB / 1.235 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000106/0.9935, allocations: 107.2 kB / 1.235 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of Backend: time 3.31e-07/0.9935, allocations: 0 / 1.235 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003938/0.9974, allocations: 0.5249 MB / 1.235 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005762/0.998, allocations: 0.8846 MB / 1.236 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of Templates: time 0.006031/1.004, allocations: 2.616 MB / 1.239 GB, free: 0.5195 MB / 0.9512 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/jenkins1/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