Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009916/0.0009916, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001097/0.001097, allocations: 165 kB / 23.82 MB, free: 0.7422 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.953/0.953, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.682/1.682, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.345e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003501/0.003535, allocations: 1.745 MB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.006286, allocations: 1.791 MB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.00639, allocations: 0 / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.006761, allocations: 43.7 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006022/0.007364, allocations: 113.2 kB / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.007633, allocations: 95.58 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.007844, allocations: 139.5 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.007894, allocations: 10.28 kB / 0.7909 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.008082, allocations: 83.62 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.008206, allocations: 48.72 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.008226, allocations: 8 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.008393, allocations: 105.1 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.008458, allocations: 31.84 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.008506, allocations: 27.92 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.008805, allocations: 184.4 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.008812, allocations: 8 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/0.008813, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.008818, allocations: 1.562 kB / 0.7914 GB, free: 8.039 MB / 0.7448 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.0005419/0.00936, allocations: 499.4 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.009395, allocations: 8.031 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.00953, allocations: 22.62 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.009723, allocations: 169.1 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.009743, allocations: 8.375 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.009754, allocations: 384 / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.009929, allocations: 141.8 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.009937, allocations: 3.938 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.009951, allocations: 12 kB / 0.7922 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.009958, allocations: 0 / 0.7922 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.01001, allocations: 15.98 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.01016, allocations: 164.1 kB / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.01031, allocations: 107.6 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.01035, allocations: 46.98 kB / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.01036, allocations: 0 / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.01048, allocations: 112.1 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.01048, allocations: 0.6562 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002393/0.01072, allocations: 126.2 kB / 0.7928 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.01077, allocations: 130.1 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.0109, allocations: 238.7 kB / 0.7931 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01092, allocations: 33.7 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.01097, allocations: 150.9 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.01101, allocations: 29.97 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.01104, allocations: 31.38 kB / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01114, allocations: 0.4962 MB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.01117, allocations: 12 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.01123, allocations: 92 kB / 0.7939 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.01131, allocations: 71.92 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01131, allocations: 0.5312 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001313/0.01144, allocations: 99.16 kB / 0.7941 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01146, allocations: 7.938 kB / 0.7941 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01146, allocations: 3.938 kB / 0.7941 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01148, allocations: 4.531 kB / 0.7941 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.01156, allocations: 17.3 kB / 0.7941 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01157, allocations: 7.938 kB / 0.7941 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.01161, allocations: 7.984 kB / 0.7942 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.01161, allocations: 4.312 kB / 0.7942 GB, free: 4.879 MB / 0.7448 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 8.429e-05/0.0117, allocations: 165.7 kB / 0.7943 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.01173, allocations: 23.89 kB / 0.7943 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.01187, allocations: 108.4 kB / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01187, allocations: 0 / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01188, allocations: 0 / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01188, allocations: 7.938 kB / 0.7944 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.01199, allocations: 162.2 kB / 0.7946 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.012, allocations: 0 / 0.7946 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.01204, allocations: 15.98 kB / 0.7946 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01204, allocations: 0 / 0.7946 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01205, allocations: 8.844 kB / 0.7946 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01205, allocations: 3.938 kB / 0.7946 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01206, allocations: 5.281 kB / 0.7946 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.0122, allocations: 159.6 kB / 0.7948 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.01221, allocations: 11.91 kB / 0.7948 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01223, allocations: 8.562 kB / 0.7948 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.01227, allocations: 7.938 kB / 0.7948 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.01232, allocations: 16.75 kB / 0.7948 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01233, allocations: 4 kB / 0.7948 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.18e-05/0.01241, allocations: 173.6 kB / 0.795 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01241, allocations: 0 / 0.795 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001938/0.0126, allocations: 47.88 kB / 0.795 GB, free: 3.898 MB / 0.7448 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.001027/0.01363, allocations: 0.4988 MB / 0.7955 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.01378, allocations: 60.66 kB / 0.7956 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01378, allocations: 4 kB / 0.7956 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.01383, allocations: 36.64 kB / 0.7956 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.01402, allocations: 31.97 kB / 0.7957 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.01457, allocations: 261.9 kB / 0.7959 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.01461, allocations: 75.27 kB / 0.796 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.31e-05/0.01466, allocations: 21.84 kB / 0.796 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.0147, allocations: 25.83 kB / 0.796 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01471, allocations: 0 / 0.796 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of Templates: time 0.004538/0.01924, allocations: 2.9 MB / 0.7989 GB, free: 184 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.857961120083928]