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.0008239/0.0008239, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008211/0.0008211, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8557/0.8557, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.605/1.605, allocations: 359 MB / 0.6044 GB, free: 11.08 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.1.|combiTimeTable.y.2.|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.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.529e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002099/0.002124, allocations: 1.69 MB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003645, allocations: 1.725 MB / 0.9551 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.003715, allocations: 4 kB / 0.9551 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.003958, allocations: 43.64 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.004224, allocations: 111.4 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.004354, allocations: 95.52 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.004514, allocations: 147.5 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.004554, allocations: 5.641 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.004705, allocations: 91.67 kB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.689e-05/0.004802, allocations: 39.89 kB / 0.9556 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.00482, allocations: 8 kB / 0.9556 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.004943, allocations: 115.8 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.004988, allocations: 23.86 kB / 0.9557 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.005028, allocations: 31.91 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.005265, allocations: 211.3 kB / 0.9559 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.005267, allocations: 3.938 kB / 0.9559 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005268, allocations: 0 / 0.9559 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.005273, allocations: 0 / 0.9559 GB, free: 14.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004566/0.005729, allocations: 397.1 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.005759, allocations: 16.02 kB / 0.9563 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.005866, allocations: 20.84 kB / 0.9564 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.006051, allocations: 162.4 kB / 0.9565 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.006061, allocations: 384 / 0.9565 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.006073, allocations: 8.375 kB / 0.9565 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.006235, allocations: 127.3 kB / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.006243, allocations: 7.938 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006255, allocations: 3.984 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.006259, allocations: 4 kB / 0.9567 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.006358, allocations: 47.95 kB / 0.9567 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.006509, allocations: 163 kB / 0.9569 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.006669, allocations: 111.8 kB / 0.957 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.006731, allocations: 50.62 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.006744, allocations: 0 / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.006879, allocations: 113.9 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.00688, allocations: 3.938 kB / 0.9571 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002894/0.007169, allocations: 169.4 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.007223, allocations: 136.8 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.007356, allocations: 200.7 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.007371, allocations: 29.7 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.007415, allocations: 108.1 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.007443, allocations: 23.84 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.00748, allocations: 21.72 kB / 0.9578 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.007559, allocations: 326.8 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.007617, allocations: 35.97 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.00769, allocations: 97.84 kB / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.007814, allocations: 103.4 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007817, allocations: 4 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001662/0.007983, allocations: 133.5 kB / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.007994, allocations: 4 kB / 0.9585 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007999, allocations: 12.03 kB / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.008008, allocations: 0 / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.008076, allocations: 20.48 kB / 0.9585 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.008082, allocations: 3.984 kB / 0.9585 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.008122, allocations: 31.8 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.00813, allocations: 4 kB / 0.9585 GB, free: 11.7 MB / 0.9167 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 6.991e-05/0.008199, allocations: 121.8 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.008216, allocations: 15.91 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.008365, allocations: 127 kB / 0.9588 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008368, allocations: 8 kB / 0.9588 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008372, allocations: 0 / 0.9588 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008375, allocations: 0 / 0.9588 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.008478, allocations: 149.3 kB / 0.9589 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.008479, allocations: 0 / 0.9589 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.008517, allocations: 19.92 kB / 0.9589 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.00852, allocations: 4 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.008527, allocations: 0 / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.00853, allocations: 3.938 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008532, allocations: 4 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.008707, allocations: 186.6 kB / 0.9591 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.008723, allocations: 15.91 kB / 0.9592 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.008739, allocations: 4 kB / 0.9592 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.008775, allocations: 15.92 kB / 0.9592 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.008811, allocations: 11.98 kB / 0.9592 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.008824, allocations: 4 kB / 0.9592 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.008908, allocations: 148.3 kB / 0.9593 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008908, allocations: 0 / 0.9593 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001725/0.00908, allocations: 51.86 kB / 0.9594 GB, free: 10.75 MB / 0.9167 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.0007803/0.00986, allocations: 0.5373 MB / 0.9599 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.01004, allocations: 95.86 kB / 0.96 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01004, allocations: 0 / 0.96 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.01011, allocations: 47.91 kB / 0.96 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.01028, allocations: 35.95 kB / 0.9601 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.01064, allocations: 293.4 kB / 0.9604 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.0107, allocations: 97.25 kB / 0.9604 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.01074, allocations: 20.48 kB / 0.9605 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of SimCode: time 4.1e-07/0.01074, allocations: 3.938 kB / 0.9605 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of Templates: time 0.002854/0.01359, allocations: 2.664 MB / 0.9631 GB, free: 7.141 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.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.561215838417411]