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.001857/0.001857, allocations: 79.97 kB / 19.76 MB, free: 2.031 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.002229/0.002229, allocations: 156.2 kB / 23.01 MB, free: 4.941 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.624/2.624, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2721, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002906/0.2751, allocations: 1.64 MB / 1.119 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2761, allocations: 0.639 MB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.2762, allocations: 8 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2763, allocations: 19.8 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.2765, allocations: 47.38 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.277, allocations: 131.7 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.2773, allocations: 183.6 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.2774, allocations: 21.61 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.2775, allocations: 95.69 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2777, allocations: 75.72 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.2777, allocations: 16 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.2778, allocations: 39.98 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.2779, allocations: 27.92 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.278, allocations: 67.7 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.2782, allocations: 171.4 kB / 1.121 GB, free: 15.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2782, allocations: 0 / 1.121 GB, free: 15.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2782, allocations: 3.938 kB / 1.121 GB, free: 15.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2783, allocations: 0 / 1.121 GB, free: 15.37 MB / 1.076 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.0006834/0.2789, allocations: 496.3 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.279, allocations: 12.03 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2791, allocations: 32.83 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2794, allocations: 182.4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2795, allocations: 8.375 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.2795, allocations: 16.38 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.2798, allocations: 177.1 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.2798, allocations: 0 / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2798, allocations: 4 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2798, allocations: 0 / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.2801, allocations: 131.3 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2807, allocations: 340.2 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.2809, allocations: 137.9 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2811, allocations: 124.2 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2812, allocations: 4 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.2815, allocations: 242.2 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.2815, allocations: 0 / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0008461/0.2823, allocations: 483.6 kB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.2824, allocations: 162.4 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2826, allocations: 183.5 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2826, allocations: 33.7 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.2827, allocations: 112.3 kB / 1.123 GB, free: 12.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.2828, allocations: 31.69 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.2828, allocations: 41.7 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.283, allocations: 326.8 kB / 1.124 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2832, allocations: 166.8 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2835, allocations: 209.6 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.2838, allocations: 316.9 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2838, allocations: 0 / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006553/0.2845, allocations: 463 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.2846, allocations: 111.1 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2846, allocations: 15.92 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2846, allocations: 0 / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2847, allocations: 19.98 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2847, allocations: 4 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2848, allocations: 11.94 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2848, allocations: 8 kB / 1.125 GB, free: 10.32 MB / 1.076 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.0001732/0.285, allocations: 205.1 kB / 1.125 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.2851, allocations: 15.91 kB / 1.125 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2851, allocations: 13.47 kB / 1.125 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2851, allocations: 11.98 kB / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2851, allocations: 0 / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2851, allocations: 0 / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.2859, allocations: 0.5788 MB / 1.126 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2859, allocations: 8 kB / 1.126 GB, free: 9.406 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.286, allocations: 11.98 kB / 1.126 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.286, allocations: 0 / 1.126 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.286, allocations: 8 kB / 1.126 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.286, allocations: 0 / 1.126 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.286, allocations: 4.281 kB / 1.126 GB, free: 9.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.2867, allocations: 481.9 kB / 1.126 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.2867, allocations: 15.84 kB / 1.126 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.2867, allocations: 7.984 kB / 1.126 GB, free: 8.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2868, allocations: 8 kB / 1.126 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.2869, allocations: 11.98 kB / 1.126 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.2869, allocations: 4 kB / 1.126 GB, free: 8.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001174/0.287, allocations: 137.1 kB / 1.126 GB, free: 8.691 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.287, allocations: 0 / 1.126 GB, free: 8.691 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000304/0.2873, allocations: 39.94 kB / 1.126 GB, free: 8.652 MB / 1.076 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.000219/0.2875, allocations: 119.9 kB / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.2882, allocations: 0.5156 MB / 1.127 GB, free: 7.926 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2882, allocations: 4 kB / 1.127 GB, free: 7.922 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.2885, allocations: 246.1 kB / 1.127 GB, free: 7.645 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2888, allocations: 20 kB / 1.127 GB, free: 7.625 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.2894, allocations: 353.6 kB / 1.128 GB, free: 7.242 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.2895, allocations: 101.4 kB / 1.128 GB, free: 7.121 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.604e-05/0.2895, allocations: 20.47 kB / 1.128 GB, free: 7.102 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.2896, allocations: 12.5 kB / 1.128 GB, free: 7.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.2896, allocations: 0 / 1.128 GB, free: 7.09 MB / 1.076 GB Notification: Performance of Templates: time 0.005684/0.2953, allocations: 2.186 MB / 1.13 GB, free: 4.953 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.100931649911217]