Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.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.0008578/0.0008578, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008673/0.0008673, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9114/0.9114, allocations: 177.2 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.835e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002037/0.002055, allocations: 1.692 MB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.003638, allocations: 1.726 MB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.003711, allocations: 0 / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.00398, allocations: 43.64 kB / 0.9856 GB, free: 14.63 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.004272, allocations: 111.4 kB / 0.9857 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.004422, allocations: 99.52 kB / 0.9858 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004585, allocations: 147.4 kB / 0.9859 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.004629, allocations: 13.62 kB / 0.9859 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.004786, allocations: 83.75 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.004891, allocations: 43.88 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.004909, allocations: 4 kB / 0.986 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.005056, allocations: 111.8 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.005112, allocations: 35.78 kB / 0.9862 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.005154, allocations: 23.92 kB / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.005413, allocations: 211.3 kB / 0.9864 GB, free: 13.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005415, allocations: 0 / 0.9864 GB, free: 13.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.771e-06/0.005421, allocations: 8 kB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005426, allocations: 0 / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005493/0.005975, allocations: 401.1 kB / 0.9868 GB, free: 13.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.00601, allocations: 8.031 kB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.006146, allocations: 20.88 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.006378, allocations: 162.9 kB / 0.987 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.006393, allocations: 4.375 kB / 0.987 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.006406, allocations: 4.375 kB / 0.987 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.006606, allocations: 135.3 kB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006616, allocations: 7.922 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.006628, allocations: 0 / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006633, allocations: 0 / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.006743, allocations: 51.95 kB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.006918, allocations: 159 kB / 0.9873 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.0071, allocations: 115.8 kB / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.721e-05/0.007167, allocations: 50.61 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.007186, allocations: 4 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.007347, allocations: 109.9 kB / 0.9876 GB, free: 12.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.007348, allocations: 3.938 kB / 0.9876 GB, free: 12.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003274/0.007675, allocations: 177.6 kB / 0.9878 GB, free: 12.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.007733, allocations: 132.5 kB / 0.9879 GB, free: 12.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.007883, allocations: 199.8 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.007901, allocations: 29.7 kB / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.00795, allocations: 116 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.007986, allocations: 23.84 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.008021, allocations: 29.7 kB / 0.9883 GB, free: 11.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.008104, allocations: 322.8 kB / 0.9886 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.00816, allocations: 31.97 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.008238, allocations: 101.9 kB / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.00836, allocations: 99.33 kB / 0.9888 GB, free: 11.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008362, allocations: 0 / 0.9888 GB, free: 11.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000166/0.008528, allocations: 129.5 kB / 0.9889 GB, free: 10.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.00854, allocations: 12.31 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008545, allocations: 3.938 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.008558, allocations: 11.92 kB / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.008637, allocations: 20.3 kB / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.008641, allocations: 4 kB / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.008683, allocations: 15.88 kB / 0.989 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.00869, allocations: 4 kB / 0.989 GB, free: 10.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 7.65e-05/0.008766, allocations: 127.9 kB / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.008784, allocations: 15.91 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.008952, allocations: 135 kB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008955, allocations: 0 / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.008958, allocations: 0 / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.008963, allocations: 4 kB / 0.9893 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.009064, allocations: 149.2 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009065, allocations: 0 / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.009105, allocations: 23.92 kB / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.009107, allocations: 0 / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.009116, allocations: 4 kB / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009118, allocations: 3.938 kB / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009119, allocations: 4 kB / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.009294, allocations: 174.7 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.009312, allocations: 19.89 kB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.009331, allocations: 4 kB / 0.9896 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.009366, allocations: 11.92 kB / 0.9896 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.009408, allocations: 11.98 kB / 0.9896 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.009421, allocations: 4 kB / 0.9897 GB, free: 10.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.609e-05/0.009507, allocations: 153.2 kB / 0.9898 GB, free: 9.926 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.009507, allocations: 7.938 kB / 0.9898 GB, free: 9.918 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001784/0.009686, allocations: 47.86 kB / 0.9899 GB, free: 9.871 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008182/0.0105, allocations: 0.5378 MB / 0.9904 GB, free: 9.543 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.01068, allocations: 79.89 kB / 0.9905 GB, free: 9.465 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01069, allocations: 0 / 0.9905 GB, free: 9.465 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.01076, allocations: 51.84 kB / 0.9905 GB, free: 9.414 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.01094, allocations: 44.55 kB / 0.9905 GB, free: 9.371 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.01133, allocations: 281.1 kB / 0.9908 GB, free: 9.055 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.0114, allocations: 97.23 kB / 0.9909 GB, free: 8.938 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.01145, allocations: 28.48 kB / 0.9909 GB, free: 8.91 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.01145, allocations: 0 / 0.9909 GB, free: 8.91 MB / 0.948 GB Notification: Performance of Templates: time 0.003202/0.01465, allocations: 2.663 MB / 0.9935 GB, free: 6.262 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.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.233903829008341]