Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002104/0.3335, allocations: 0.5517 MB / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3355, allocations: 1.255 MB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.3355, allocations: 0 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.3357, allocations: 19.91 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.3357, allocations: 0 / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.3365, allocations: 279 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3366, allocations: 87.8 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.3367, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.3367, allocations: 39.91 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3368, allocations: 43.89 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3369, allocations: 4 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.3373, allocations: 207.6 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3373, allocations: 7.938 kB / 1.219 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.3374, allocations: 35.84 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.3378, allocations: 263.2 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3378, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3378, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3378, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 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.0005341/0.3383, allocations: 448.5 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3383, allocations: 8.031 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.3384, allocations: 84.22 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3387, allocations: 263.5 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.3387, allocations: 154.9 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.3388, allocations: 158.9 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.707e-05/0.3389, allocations: 109.1 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.3389, allocations: 79.27 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.339, allocations: 150.6 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.339, allocations: 154.5 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.3391, allocations: 158.6 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.3395, allocations: 473.8 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.3396, allocations: 165.1 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.3396, allocations: 80.14 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3396, allocations: 83.28 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.3397, allocations: 109.8 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3397, allocations: 0 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/0.3398, allocations: 45.64 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3399, allocations: 126.7 kB / 1.222 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.34, allocations: 144.7 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3401, allocations: 29.7 kB / 1.222 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.3401, allocations: 100.1 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.3401, allocations: 0 / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.3402, allocations: 45.69 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3404, allocations: 314.8 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3405, allocations: 63.88 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3406, allocations: 59.95 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3407, allocations: 98.58 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3407, allocations: 0 / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004081/0.3411, allocations: 239.2 kB / 1.223 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.3412, allocations: 49.62 kB / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3412, allocations: 0 / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3412, allocations: 4 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.3412, allocations: 0 / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3412, allocations: 0 / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.3415, allocations: 19.94 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3415, allocations: 15.98 kB / 1.223 GB, free: 8.312 MB / 0.9669 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.0001381/0.3417, allocations: 201.1 kB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.3418, allocations: 112.9 kB / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.3418, allocations: 112.5 kB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.975e-05/0.3419, allocations: 180.2 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-05/0.342, allocations: 180.2 kB / 1.223 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/0.342, allocations: 176.3 kB / 1.224 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3423, allocations: 417.2 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/0.3423, allocations: 104.9 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.3424, allocations: 112.9 kB / 1.224 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/0.3425, allocations: 180.2 kB / 1.224 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.3425, allocations: 176.3 kB / 1.225 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.3426, allocations: 184.2 kB / 1.225 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.3427, allocations: 184.3 kB / 1.225 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3429, allocations: 307.7 kB / 1.225 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.343, allocations: 190 kB / 1.225 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.343, allocations: 188.2 kB / 1.226 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.3431, allocations: 109 kB / 1.226 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.3432, allocations: 180.2 kB / 1.226 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.3433, allocations: 108.9 kB / 1.226 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.38e-05/0.3433, allocations: 111.2 kB / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3433, allocations: 0 / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003765/0.3437, allocations: 67.8 kB / 1.226 GB, free: 4.578 MB / 0.9669 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.0009253/0.3446, allocations: 399.5 kB / 1.226 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.3449, allocations: 151.3 kB / 1.227 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3449, allocations: 0 / 1.227 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.3449, allocations: 4 kB / 1.227 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.3454, allocations: 466.3 kB / 1.227 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.3458, allocations: 232 kB / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3461, allocations: 0.6846 MB / 1.228 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.371e-05/0.3462, allocations: 47.92 kB / 1.228 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.3462, allocations: 7.438 kB / 1.228 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.3462, allocations: 0 / 1.228 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of Templates: time 0.005942/0.3521, allocations: 2.599 MB / 1.231 GB, free: 24 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.058197890408337]