Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001478/0.001478, allocations: 76.84 kB / 19.18 MB, free: 2.531 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.001563/0.001563, allocations: 170.8 kB / 22.46 MB, free: 5.355 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.963e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00169/0.00172, allocations: 0.5598 MB / 0.982 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.00373, allocations: 1.274 MB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.003753, allocations: 0 / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.003839, allocations: 3.984 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.003885, allocations: 7.938 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.004654, allocations: 295.1 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.004808, allocations: 79.86 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.004845, allocations: 0 / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/0.004925, allocations: 51.89 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.005019, allocations: 47.88 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.005048, allocations: 4 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.005484, allocations: 219.5 kB / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.005511, allocations: 11.88 kB / 0.9839 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.005569, allocations: 23.92 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.006015, allocations: 291.3 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.006019, allocations: 4 kB / 0.9842 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00602, allocations: 0 / 0.9842 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.006027, allocations: 0 / 0.9842 GB, free: 9.102 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.0005735/0.006601, allocations: 367.4 kB / 0.9845 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.006637, allocations: 12.03 kB / 0.9846 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.006735, allocations: 84.22 kB / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.006907, allocations: 197 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.006988, allocations: 158.9 kB / 0.985 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.007077, allocations: 154.9 kB / 0.9851 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.777e-05/0.007154, allocations: 109.5 kB / 0.9852 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.007194, allocations: 79.45 kB / 0.9853 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.007268, allocations: 154.7 kB / 0.9855 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.007333, allocations: 150.6 kB / 0.9856 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.007407, allocations: 154.6 kB / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.00776, allocations: 417.6 kB / 0.9861 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.007863, allocations: 173.1 kB / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.007911, allocations: 84.19 kB / 0.9864 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.007947, allocations: 79.28 kB / 0.9865 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.723e-05/0.008014, allocations: 113.8 kB / 0.9866 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.008015, allocations: 0 / 0.9866 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.008117, allocations: 41.59 kB / 0.9866 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.008185, allocations: 130.6 kB / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.008352, allocations: 144.8 kB / 0.9869 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.008384, allocations: 29.7 kB / 0.9869 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.008457, allocations: 92.12 kB / 0.987 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.008459, allocations: 4 kB / 0.987 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.008543, allocations: 45.69 kB / 0.987 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.008688, allocations: 314.8 kB / 0.9873 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.008837, allocations: 93.64 kB / 0.9874 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.008987, allocations: 101.6 kB / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.009129, allocations: 98.52 kB / 0.9876 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.00913, allocations: 0 / 0.9876 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004624/0.009592, allocations: 272.8 kB / 0.9879 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.009639, allocations: 41.69 kB / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.009646, allocations: 3.984 kB / 0.9879 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.009658, allocations: 64 / 0.9879 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.00966, allocations: 7.938 kB / 0.9879 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.009664, allocations: 0 / 0.9879 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.009975, allocations: 19.92 kB / 0.9879 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.01002, allocations: 23.92 kB / 0.988 GB, free: 5.008 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.0001448/0.01016, allocations: 197.1 kB / 0.9882 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.01024, allocations: 104.9 kB / 0.9883 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.01031, allocations: 116.4 kB / 0.9884 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.533e-05/0.01039, allocations: 180.2 kB / 0.9885 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-05/0.01048, allocations: 188.1 kB / 0.9887 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.839e-05/0.01056, allocations: 180.3 kB / 0.9889 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01081, allocations: 360.9 kB / 0.9892 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/0.01087, allocations: 104.9 kB / 0.9893 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.01094, allocations: 109 kB / 0.9894 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.01104, allocations: 184.2 kB / 0.9896 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.01113, allocations: 176.3 kB / 0.9898 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-05/0.01121, allocations: 184.3 kB / 0.99 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001038/0.01132, allocations: 180.2 kB / 0.9901 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.0115, allocations: 323.6 kB / 0.9904 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.01156, allocations: 104.9 kB / 0.9905 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.01164, allocations: 180.3 kB / 0.9907 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.01174, allocations: 108.9 kB / 0.9908 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.01184, allocations: 184.2 kB / 0.991 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.01188, allocations: 108.9 kB / 0.9911 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.309e-05/0.01197, allocations: 103.3 kB / 0.9912 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01197, allocations: 0 / 0.9912 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003777/0.01234, allocations: 79.66 kB / 0.9913 GB, free: 1.441 MB / 0.9356 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.0009855/0.01333, allocations: 423.3 kB / 0.9917 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.01362, allocations: 181 kB / 0.9918 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01362, allocations: 0 / 0.9918 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.01362, allocations: 0 / 0.9918 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.01404, allocations: 463.8 kB / 0.9923 GB, free: 460 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.01439, allocations: 239.9 kB / 0.9925 GB, free: 192 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.01445, allocations: 63.28 kB / 0.9926 GB, free: 108 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.289e-05/0.01453, allocations: 47.88 kB / 0.9926 GB, free: 60 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.01455, allocations: 12.5 kB / 0.9926 GB, free: 48 kB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.01455, allocations: 0 / 0.9926 GB, free: 48 kB / 0.9356 GB Notification: Performance of Templates: time 0.006181/0.02074, allocations: 2.802 MB / 0.9954 GB, free: 13.28 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.9997628480196]