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.0007934/0.0007934, allocations: 72.5 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.00078/0.00078, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8495/0.8495, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.613/1.613, allocations: 359 MB / 0.6044 GB, free: 11.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.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 2.114e-06/2.114e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.023e-05, allocations: 5.234 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003139/0.00317, allocations: 1.627 MB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004303, allocations: 0.6503 MB / 0.9539 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.004392, allocations: 0 / 0.9539 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.00457, allocations: 23.78 kB / 0.954 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.00481, allocations: 61.94 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.005278, allocations: 123.7 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.005577, allocations: 191.6 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.0057, allocations: 13.62 kB / 0.9543 GB, free: 324 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.005975, allocations: 119.7 kB / 0.9545 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.006108, allocations: 67.84 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.006149, allocations: 16 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.006242, allocations: 35.97 kB / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.006335, allocations: 27.86 kB / 0.9546 GB, free: 56 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.006435, allocations: 63.94 kB / 0.9547 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.006746, allocations: 199.3 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.006749, allocations: 0 / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00675, allocations: 0 / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.006757, allocations: 3.938 kB / 0.9548 GB, free: 15.79 MB / 0.9167 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.0007037/0.007461, allocations: 492.4 kB / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.007505, allocations: 12.03 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.007691, allocations: 28.83 kB / 0.9554 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.00804, allocations: 181.7 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.008058, allocations: 8.375 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.008089, allocations: 16.38 kB / 0.9556 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.008392, allocations: 169.5 kB / 0.9557 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.008402, allocations: 4.125 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.008423, allocations: 8.125 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.008427, allocations: 0 / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.008626, allocations: 123.3 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.009234, allocations: 348.2 kB / 0.9562 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.009438, allocations: 133.9 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.0096, allocations: 128.2 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.009628, allocations: 7.938 kB / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.00989, allocations: 238.3 kB / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.009891, allocations: 0 / 0.9567 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0007376/0.01063, allocations: 479.7 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.01072, allocations: 170.1 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.01088, allocations: 175.6 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.01091, allocations: 29.7 kB / 0.9575 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.01098, allocations: 112.3 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01102, allocations: 27.78 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.0111, allocations: 41.7 kB / 0.9576 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01121, allocations: 323.1 kB / 0.958 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.01139, allocations: 166.8 kB / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.01158, allocations: 213.6 kB / 0.9583 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.01188, allocations: 320.8 kB / 0.9586 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01189, allocations: 0 / 0.9586 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005355/0.01242, allocations: 466.9 kB / 0.9591 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.01249, allocations: 117.1 kB / 0.9592 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.0125, allocations: 0 / 0.9592 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01252, allocations: 4 kB / 0.9592 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01262, allocations: 20.23 kB / 0.9592 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01263, allocations: 4 kB / 0.9592 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.01272, allocations: 23.94 kB / 0.9592 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01274, allocations: 8 kB / 0.9592 GB, free: 10.75 MB / 0.9167 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.0001545/0.0129, allocations: 205 kB / 0.9594 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.01293, allocations: 23.83 kB / 0.9595 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.01297, allocations: 17.45 kB / 0.9595 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01297, allocations: 4 kB / 0.9595 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01298, allocations: 0 / 0.9595 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01298, allocations: 0 / 0.9595 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.01364, allocations: 0.5789 MB / 0.96 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01364, allocations: 0 / 0.96 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.0137, allocations: 15.98 kB / 0.9601 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.0137, allocations: 0 / 0.9601 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.01372, allocations: 4 kB / 0.9601 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01372, allocations: 0 / 0.9601 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01372, allocations: 0 / 0.9601 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.01425, allocations: 478 kB / 0.9605 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.01427, allocations: 11.91 kB / 0.9605 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.0143, allocations: 8 kB / 0.9605 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.0144, allocations: 11.98 kB / 0.9605 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.01445, allocations: 3.984 kB / 0.9606 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01446, allocations: 12 kB / 0.9606 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001017/0.01457, allocations: 133.7 kB / 0.9607 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01457, allocations: 3.938 kB / 0.9607 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003485/0.01491, allocations: 39.94 kB / 0.9607 GB, free: 9.09 MB / 0.9167 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.0002443/0.01516, allocations: 128.9 kB / 0.9609 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.01567, allocations: 0.5153 MB / 0.9614 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01567, allocations: 4 kB / 0.9614 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.01591, allocations: 250.6 kB / 0.9616 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.01624, allocations: 19.94 kB / 0.9616 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.01689, allocations: 371.1 kB / 0.962 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.01698, allocations: 93.3 kB / 0.9621 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.01702, allocations: 20.5 kB / 0.9621 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01702, allocations: 0 / 0.9621 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of Templates: time 0.004197/0.02122, allocations: 2.236 MB / 0.9643 GB, free: 5.293 MB / 0.9167 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 -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/jenkins/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: 6.769002419896424]