Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002538/0.002538, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002882/0.002882, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.357/3.357, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0.875 kB / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.632e-05, allocations: 12.78 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003234/0.00327, allocations: 1.72 MB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.00626, allocations: 1.751 MB / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.006334, allocations: 0 / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.00662, allocations: 43.7 kB / 0.8809 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.006992, allocations: 110.1 kB / 0.881 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.00723, allocations: 95.58 kB / 0.8811 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.007473, allocations: 151.4 kB / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.007522, allocations: 9.641 kB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.007761, allocations: 79.73 kB / 0.8813 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.007931, allocations: 43.89 kB / 0.8813 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.00797, allocations: 9.75 kB / 0.8814 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.008187, allocations: 115.7 kB / 0.8815 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.008253, allocations: 23.92 kB / 0.8815 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.008317, allocations: 35.91 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.008712, allocations: 211.3 kB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008715, allocations: 0.625 kB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/0.008717, allocations: 1.656 kB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.008721, allocations: 0 / 0.8817 GB, free: 2.312 MB / 0.8386 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.0007827/0.009504, allocations: 491.1 kB / 0.8822 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.009542, allocations: 12.03 kB / 0.8822 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.009733, allocations: 29.55 kB / 0.8822 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.01004, allocations: 170 kB / 0.8824 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.01005, allocations: 4.375 kB / 0.8824 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.01007, allocations: 4.375 kB / 0.8824 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.01033, allocations: 130.7 kB / 0.8825 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01034, allocations: 3.938 kB / 0.8825 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.01036, allocations: 0 / 0.8825 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.01036, allocations: 4 kB / 0.8825 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.01053, allocations: 43.91 kB / 0.8826 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.01079, allocations: 180 kB / 0.8828 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.01111, allocations: 129.2 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.01123, allocations: 51.11 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.01125, allocations: 8 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.01149, allocations: 116 kB / 0.883 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.01149, allocations: 7.938 kB / 0.8831 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005001/0.01199, allocations: 161.3 kB / 0.8832 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.01209, allocations: 128.5 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.01237, allocations: 259.8 kB / 0.8836 GB, free: 160 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.0124, allocations: 37.94 kB / 0.8836 GB, free: 116 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01253, allocations: 162.9 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.01258, allocations: 27.8 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.01264, allocations: 27.38 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002862/0.01292, allocations: 0.5079 MB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.01302, allocations: 19.98 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.01317, allocations: 96.12 kB / 0.8844 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.01339, allocations: 102.7 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01339, allocations: 0 / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002952/0.01368, allocations: 121.5 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.0137, allocations: 4 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01371, allocations: 3.938 kB / 0.8846 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01372, allocations: 4 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.01384, allocations: 15.98 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01385, allocations: 4 kB / 0.8847 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.01393, allocations: 19.97 kB / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01395, allocations: 8 kB / 0.8847 GB, free: 14.93 MB / 0.8542 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 0.0001442/0.01409, allocations: 169.5 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.01413, allocations: 19.91 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.0144, allocations: 115.1 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.0144, allocations: 0 / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01441, allocations: 320 / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.01441, allocations: 4 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.01462, allocations: 160.6 kB / 0.8851 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.01463, allocations: 4 kB / 0.8851 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.01472, allocations: 27.92 kB / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.01473, allocations: 4 kB / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01474, allocations: 0 / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.01474, allocations: 3.938 kB / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.01475, allocations: 4 kB / 0.8852 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.01511, allocations: 183.8 kB / 0.8854 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.01514, allocations: 23.83 kB / 0.8854 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.01518, allocations: 7.938 kB / 0.8854 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.01525, allocations: 7.938 kB / 0.8854 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.01531, allocations: 15.97 kB / 0.8854 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.01533, allocations: 8 kB / 0.8854 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001828/0.01551, allocations: 193 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01551, allocations: 0 / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002972/0.01581, allocations: 47.88 kB / 0.8857 GB, free: 13.86 MB / 0.8542 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.003377/0.01918, allocations: 0.5415 MB / 0.8862 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.01948, allocations: 87.52 kB / 0.8863 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01949, allocations: 0 / 0.8863 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.01964, allocations: 55.84 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.01994, allocations: 34.09 kB / 0.8864 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.02052, allocations: 259.5 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.02073, allocations: 97.16 kB / 0.8867 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.192e-05/0.02081, allocations: 25.17 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.02088, allocations: 28.48 kB / 0.8867 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.02088, allocations: 0 / 0.8867 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.006963/0.02784, allocations: 2.662 MB / 0.8893 GB, free: 10.28 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.400650861905888]