Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002654/0.002654, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.693/2.693, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.992e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001968/0.001998, allocations: 0.5558 MB / 0.9515 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.003952, allocations: 1.275 MB / 0.9527 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.003978, allocations: 0 / 0.9527 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.764e-05/0.004075, allocations: 3.984 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.00414, allocations: 15.86 kB / 0.9528 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000868/0.005008, allocations: 291.1 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.005183, allocations: 67.89 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.005227, allocations: 3.984 kB / 0.9531 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.005316, allocations: 51.89 kB / 0.9532 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.005414, allocations: 39.89 kB / 0.9532 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.005448, allocations: 4 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.005933, allocations: 227.5 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.005968, allocations: 7.938 kB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.006036, allocations: 23.92 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.006585, allocations: 291.4 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006588, allocations: 0 / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006588, allocations: 3.938 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.006599, allocations: 0 / 0.9537 GB, free: 8.754 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.0005321/0.007132, allocations: 367.4 kB / 0.9541 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.007171, allocations: 12.03 kB / 0.9541 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.007282, allocations: 88.16 kB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.007474, allocations: 200.9 kB / 0.9544 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.007541, allocations: 162.9 kB / 0.9545 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.007631, allocations: 158.9 kB / 0.9547 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/0.007705, allocations: 101.5 kB / 0.9548 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.007744, allocations: 75.47 kB / 0.9548 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.007806, allocations: 154.7 kB / 0.955 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.007871, allocations: 158.6 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.007948, allocations: 158.5 kB / 0.9553 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.008276, allocations: 409.6 kB / 0.9557 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.008377, allocations: 173.1 kB / 0.9558 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.008421, allocations: 84.19 kB / 0.9559 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.00846, allocations: 79.28 kB / 0.956 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.008509, allocations: 105.8 kB / 0.9561 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.008509, allocations: 0 / 0.9561 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001078/0.008617, allocations: 41.62 kB / 0.9561 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.008685, allocations: 130.6 kB / 0.9563 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.008858, allocations: 147.7 kB / 0.9564 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.008887, allocations: 25.7 kB / 0.9564 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.00896, allocations: 100.1 kB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.008961, allocations: 0 / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.009045, allocations: 37.7 kB / 0.9566 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.009185, allocations: 322.8 kB / 0.9569 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.009341, allocations: 101.6 kB / 0.957 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.009483, allocations: 93.64 kB / 0.9571 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.009627, allocations: 94.52 kB / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009629, allocations: 0 / 0.9571 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004706/0.0101, allocations: 273 kB / 0.9574 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.01015, allocations: 41.69 kB / 0.9574 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01015, allocations: 0 / 0.9574 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01017, allocations: 3.984 kB / 0.9575 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.01017, allocations: 3.938 kB / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.01017, allocations: 3.938 kB / 0.9575 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.0105, allocations: 28 kB / 0.9575 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.01054, allocations: 19.98 kB / 0.9575 GB, free: 4.656 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 0.0001393/0.01068, allocations: 193.1 kB / 0.9577 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.01077, allocations: 112.9 kB / 0.9578 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.01083, allocations: 108.4 kB / 0.9579 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.297e-05/0.0109, allocations: 184.2 kB / 0.9581 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.168e-05/0.01098, allocations: 188.1 kB / 0.9583 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-05/0.01106, allocations: 180.3 kB / 0.9584 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.0113, allocations: 368.8 kB / 0.9588 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-05/0.01135, allocations: 101 kB / 0.9589 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.01139, allocations: 105 kB / 0.959 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-05/0.01148, allocations: 180.2 kB / 0.9591 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/0.01156, allocations: 184.2 kB / 0.9593 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.871e-05/0.01164, allocations: 180.2 kB / 0.9595 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.529e-05/0.01172, allocations: 176.3 kB / 0.9597 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.0119, allocations: 319.7 kB / 0.96 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.01196, allocations: 112.9 kB / 0.9601 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/0.01205, allocations: 180.2 kB / 0.9602 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.01213, allocations: 101 kB / 0.9603 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.01222, allocations: 188.2 kB / 0.9605 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.01227, allocations: 112.9 kB / 0.9606 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.361e-05/0.01235, allocations: 100.7 kB / 0.9607 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01235, allocations: 0 / 0.9607 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003834/0.01274, allocations: 75.67 kB / 0.9608 GB, free: 1.094 MB / 0.8575 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.01183/0.02457, allocations: 420.4 kB / 0.9612 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.02494, allocations: 193 kB / 0.9614 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.02495, allocations: 0 / 0.9614 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.02495, allocations: 4 kB / 0.9614 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.02542, allocations: 467.6 kB / 0.9618 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.02582, allocations: 231.8 kB / 0.9621 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.32e-05/0.0259, allocations: 71.39 kB / 0.9621 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.074e-05/0.02598, allocations: 43.94 kB / 0.9622 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.026, allocations: 8.5 kB / 0.9622 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.026, allocations: 0 / 0.9622 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.006744/0.03274, allocations: 2.817 MB / 0.9649 GB, free: 12.91 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8659250140190125]