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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001241/0.001241, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.00115/0.00115, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002322/1.102, allocations: 0.5455 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002097/1.104, allocations: 1.198 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/1.104, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/1.105, allocations: 11.98 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/1.105, allocations: 7.875 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/1.106, allocations: 271.3 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/1.106, allocations: 79.88 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/1.106, allocations: 11.98 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/1.106, allocations: 35.92 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/1.106, allocations: 39.89 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/1.106, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/1.107, allocations: 211.6 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/1.107, allocations: 7.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/1.107, allocations: 31.84 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/1.107, allocations: 251.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.107, allocations: 8 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/1.107, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.107, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 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.0005904/1.108, allocations: 444.9 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.108, allocations: 16.02 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/1.108, allocations: 80.22 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.108, allocations: 251.6 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/1.108, allocations: 162.9 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/1.108, allocations: 154.9 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/1.108, allocations: 109 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/1.108, allocations: 75.28 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.109, allocations: 154.6 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/1.109, allocations: 154.6 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/1.109, allocations: 154.6 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/1.109, allocations: 469.9 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/1.109, allocations: 173.1 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/1.109, allocations: 80.14 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/1.11, allocations: 79.28 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.11, allocations: 109.8 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.11, allocations: 0 / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001149/1.11, allocations: 41.59 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/1.11, allocations: 51.41 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.11, allocations: 142.2 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/1.11, allocations: 29.7 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/1.11, allocations: 96.12 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/1.11, allocations: 3.938 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/1.11, allocations: 45.7 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.11, allocations: 314.8 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/1.11, allocations: 67.89 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.111, allocations: 59.94 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.111, allocations: 94.52 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.111, allocations: 3.938 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000421/1.111, allocations: 223.3 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/1.111, allocations: 49.69 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.111, allocations: 0 / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.111, allocations: 4 kB / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/1.111, allocations: 0 / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.111, allocations: 0 / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.112, allocations: 27.81 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/1.112, allocations: 15.98 kB / 1.215 GB, free: 6.805 MB / 0.9356 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.0001603/1.112, allocations: 205 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/1.112, allocations: 116.8 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.817e-05/1.112, allocations: 108.5 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.212e-05/1.112, allocations: 184.2 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-05/1.112, allocations: 101 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/1.113, allocations: 186.1 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/1.113, allocations: 184.3 kB / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/1.113, allocations: 109 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.113, allocations: 180.2 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001797/1.113, allocations: 263.5 kB / 1.216 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003144/1.113, allocations: 386.9 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.764e-05/1.114, allocations: 104.9 kB / 1.217 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.294e-05/1.114, allocations: 107.2 kB / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of Backend: time 4.8e-07/1.114, allocations: 0 / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006077/1.12, allocations: 0.5265 MB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006905/1.12, allocations: 0.8778 MB / 1.218 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.006852/1.127, allocations: 2.625 MB / 1.221 GB, free: 496 kB / 0.9356 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