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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 199.7 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002142/0.002142, allocations: 67.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8272/0.8294, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.0035/0.8329, allocations: 1.644 MB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.8341, allocations: 0.6211 MB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.8342, allocations: 0 / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.8344, allocations: 27.78 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.8347, allocations: 43.7 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.8352, allocations: 115.7 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.8355, allocations: 175.7 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.8356, allocations: 24.98 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.8358, allocations: 83.81 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.836, allocations: 83.72 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.836, allocations: 16 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.8361, allocations: 31.98 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.8362, allocations: 27.91 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.8363, allocations: 79.64 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.8366, allocations: 170 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8366, allocations: 0 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8366, allocations: 0 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.8366, allocations: 4 kB / 1.277 GB, free: 1.418 MB / 0.9669 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.0008178/0.8374, allocations: 0.56 MB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8375, allocations: 12.03 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.8376, allocations: 20.84 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.8379, allocations: 236.3 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.838, allocations: 8.375 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.838, allocations: 12.38 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.8383, allocations: 121.6 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8383, allocations: 0 / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.8383, allocations: 12 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8383, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.8385, allocations: 67.94 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.8393, allocations: 424.5 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.8395, allocations: 74.53 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.8397, allocations: 68.81 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.8397, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.84, allocations: 182.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.84, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0008015/0.8408, allocations: 364.9 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8409, allocations: 166.2 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.8411, allocations: 179.2 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.8411, allocations: 29.7 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.8412, allocations: 108.4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.8413, allocations: 31.73 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.8413, allocations: 45.64 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8415, allocations: 330.8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.8416, allocations: 47.97 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.8418, allocations: 98.83 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.8422, allocations: 316.9 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8422, allocations: 4 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005989/0.8428, allocations: 352.1 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.8429, allocations: 118.8 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8429, allocations: 4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.8429, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.843, allocations: 20.23 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.843, allocations: 4 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.8431, allocations: 8.281 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8431, allocations: 15.98 kB / 1.281 GB, free: 13.01 MB / 0.9825 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.0001809/0.8433, allocations: 206.5 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.8434, allocations: 27.83 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.8434, allocations: 13.41 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8434, allocations: 7.984 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8434, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8434, allocations: 4 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.8442, allocations: 0.5836 MB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8442, allocations: 4 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.8443, allocations: 11.98 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8443, allocations: 0 / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.8443, allocations: 7.984 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8443, allocations: 0 / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8443, allocations: 3.938 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.8449, allocations: 414.6 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.8449, allocations: 85.06 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.845, allocations: 4 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.8451, allocations: 11.98 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.8452, allocations: 11.94 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.8452, allocations: 11.97 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001141/0.8453, allocations: 132.3 kB / 1.282 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8453, allocations: 0 / 1.282 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003012/0.8456, allocations: 35.95 kB / 1.282 GB, free: 11.31 MB / 0.9825 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.000275/0.8459, allocations: 126.5 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.8464, allocations: 365.4 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8465, allocations: 0 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.8467, allocations: 182.9 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.847, allocations: 22.8 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.8477, allocations: 296.2 kB / 1.283 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.848, allocations: 0.7158 MB / 1.284 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.264e-05/0.8481, allocations: 20.53 kB / 1.284 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.8481, allocations: 11.44 kB / 1.284 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8481, allocations: 0 / 1.284 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of Templates: time 0.005954/0.8541, allocations: 2.128 MB / 1.286 GB, free: 7.359 MB / 0.9825 GB " [Timeout remaining time 299] 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 gbode -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_2/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.555330183822662]