Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.0009624/0.0009624, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00116/0.00116, allocations: 166 kB / 24.87 MB, free: 9.285 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.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.137 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.759/1.759, allocations: 359 MB / 0.6063 GB, free: 10.87 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.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.436e-05, allocations: 9.438 kB / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002144/0.002168, allocations: 1.675 MB / 0.7899 GB, free: 10.56 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.002936, allocations: 0.6597 MB / 0.7906 GB, free: 9.895 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.003009, allocations: 8.594 kB / 0.7906 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.003146, allocations: 19.8 kB / 0.7906 GB, free: 9.867 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.003316, allocations: 45.3 kB / 0.7906 GB, free: 9.824 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.003596, allocations: 127.6 kB / 0.7908 GB, free: 9.699 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.003797, allocations: 187.5 kB / 0.791 GB, free: 9.516 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.003889, allocations: 21.02 kB / 0.791 GB, free: 9.496 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.004072, allocations: 119.8 kB / 0.7911 GB, free: 9.379 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.004166, allocations: 75.77 kB / 0.7912 GB, free: 9.305 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.00419, allocations: 16 kB / 0.7912 GB, free: 9.289 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.004246, allocations: 24 kB / 0.7912 GB, free: 9.266 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.004308, allocations: 31.91 kB / 0.7912 GB, free: 9.234 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.004365, allocations: 59.83 kB / 0.7913 GB, free: 9.176 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.004537, allocations: 155.5 kB / 0.7914 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004539, allocations: 0.7188 kB / 0.7914 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00454, allocations: 0 / 0.7914 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004543, allocations: 1.656 kB / 0.7914 GB, free: 9.023 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007166/0.00526, allocations: 0.5807 MB / 0.792 GB, free: 8.383 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.005292, allocations: 8.031 kB / 0.792 GB, free: 8.375 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.005424, allocations: 40.83 kB / 0.792 GB, free: 8.336 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.005605, allocations: 173.4 kB / 0.7922 GB, free: 8.141 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.005619, allocations: 13.3 kB / 0.7922 GB, free: 8.129 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.005638, allocations: 16.38 kB / 0.7922 GB, free: 8.113 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.005794, allocations: 167.5 kB / 0.7924 GB, free: 7.93 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005801, allocations: 192 / 0.7924 GB, free: 7.93 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.005811, allocations: 4.375 kB / 0.7924 GB, free: 7.926 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.005817, allocations: 4.875 kB / 0.7924 GB, free: 7.922 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.005878, allocations: 87.38 kB / 0.7925 GB, free: 7.824 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.006219, allocations: 361.1 kB / 0.7928 GB, free: 7.445 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.006315, allocations: 110.4 kB / 0.7929 GB, free: 7.312 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.006373, allocations: 96.12 kB / 0.793 GB, free: 7.203 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.006388, allocations: 4 kB / 0.793 GB, free: 7.199 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.006521, allocations: 225.4 kB / 0.7933 GB, free: 6.941 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.006523, allocations: 0 / 0.7933 GB, free: 6.941 MB / 0.7449 GB Notification: Performance of matching and sorting (n=10): time 0.0003709/0.006893, allocations: 395.6 kB / 0.7936 GB, free: 6.512 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.006954, allocations: 170.1 kB / 0.7938 GB, free: 6.309 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.00707, allocations: 227.1 kB / 0.794 GB, free: 6.066 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.007086, allocations: 29.7 kB / 0.794 GB, free: 6.031 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.007149, allocations: 155.7 kB / 0.7942 GB, free: 5.871 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.007171, allocations: 28.31 kB / 0.7942 GB, free: 5.844 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.00722, allocations: 47.34 kB / 0.7943 GB, free: 5.789 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.007337, allocations: 0.4969 MB / 0.7947 GB, free: 5.281 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.007405, allocations: 134.8 kB / 0.7949 GB, free: 5.125 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.007502, allocations: 213.2 kB / 0.7951 GB, free: 4.859 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.007642, allocations: 278.8 kB / 0.7953 GB, free: 4.52 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.007645, allocations: 4 kB / 0.7953 GB, free: 4.516 MB / 0.7449 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002737/0.007918, allocations: 412.3 kB / 0.7957 GB, free: 4.059 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.007972, allocations: 121.7 kB / 0.7959 GB, free: 3.918 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.007979, allocations: 4 kB / 0.7959 GB, free: 3.914 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.007988, allocations: 0.9375 kB / 0.7959 GB, free: 3.914 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.008057, allocations: 15.98 kB / 0.7959 GB, free: 3.898 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008062, allocations: 9.156 kB / 0.7959 GB, free: 3.891 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.008111, allocations: 15.95 kB / 0.7959 GB, free: 3.875 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.008124, allocations: 11.98 kB / 0.7959 GB, free: 3.863 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001076/0.008232, allocations: 232.8 kB / 0.7961 GB, free: 3.613 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.008262, allocations: 27.84 kB / 0.7962 GB, free: 3.586 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.008286, allocations: 15.69 kB / 0.7962 GB, free: 3.578 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008289, allocations: 4 kB / 0.7962 GB, free: 3.574 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.008291, allocations: 0 / 0.7962 GB, free: 3.574 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008294, allocations: 0 / 0.7962 GB, free: 3.574 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.00867, allocations: 0.5437 MB / 0.7967 GB, free: 2.973 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.008673, allocations: 11.03 kB / 0.7967 GB, free: 2.965 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.008708, allocations: 8 kB / 0.7967 GB, free: 2.957 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008711, allocations: 7.875 kB / 0.7967 GB, free: 2.949 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.008723, allocations: 11.98 kB / 0.7967 GB, free: 2.938 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.008724, allocations: 4 kB / 0.7967 GB, free: 2.934 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008725, allocations: 0 / 0.7967 GB, free: 2.934 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.009009, allocations: 462.6 kB / 0.7972 GB, free: 2.438 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.009024, allocations: 23.81 kB / 0.7972 GB, free: 2.414 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.009045, allocations: 8 kB / 0.7972 GB, free: 2.406 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.009098, allocations: 5.281 kB / 0.7972 GB, free: 2.402 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.009131, allocations: 15.92 kB / 0.7972 GB, free: 2.387 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.009142, allocations: 4 kB / 0.7972 GB, free: 2.383 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.009204, allocations: 165.7 kB / 0.7974 GB, free: 2.223 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.009204, allocations: 0.5625 kB / 0.7974 GB, free: 2.223 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001989/0.009403, allocations: 35.94 kB / 0.7974 GB, free: 2.188 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001804/0.009584, allocations: 123.7 kB / 0.7976 GB, free: 2.066 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.009849, allocations: 481.5 kB / 0.798 GB, free: 1.508 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009851, allocations: 3.938 kB / 0.798 GB, free: 1.504 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.009957, allocations: 222.1 kB / 0.7982 GB, free: 1.246 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01017, allocations: 31.92 kB / 0.7983 GB, free: 1.219 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.01093, allocations: 344.4 kB / 0.7986 GB, free: 0.8398 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.702e-05/0.01097, allocations: 67.28 kB / 0.7987 GB, free: 0.7539 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.011, allocations: 12.48 kB / 0.7987 GB, free: 0.7422 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.01113, allocations: 119 kB / 0.7988 GB, free: 0.625 MB / 0.7449 GB Notification: Performance of SimCode: time 7.91e-07/0.01113, allocations: 0 / 0.7988 GB, free: 0.625 MB / 0.7449 GB Notification: Performance of Templates: time 0.003967/0.0151, allocations: 2.454 MB / 0.8012 GB, free: 14.23 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVWriter.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.998685961123556]