Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 105.4 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.2 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.11 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2894, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003548/0.293, allocations: 1.726 MB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.2954, allocations: 1.479 MB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2955, allocations: 0 / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.2959, allocations: 39.78 kB / 0.9529 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.2962, allocations: 55.75 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.2966, allocations: 103.6 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.2968, allocations: 131.6 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.289e-05/0.2969, allocations: 17.08 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2971, allocations: 55.78 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.2973, allocations: 47.77 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.2974, allocations: 8 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2975, allocations: 67.89 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.2976, allocations: 23.92 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.2977, allocations: 39.73 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.2979, allocations: 108.1 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2979, allocations: 7.922 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2979, allocations: 4 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2979, allocations: 0 / 0.9536 GB, free: 5.285 MB / 0.7325 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.0006431/0.2986, allocations: 434.8 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.2986, allocations: 12.03 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.2987, allocations: 8.844 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.2989, allocations: 224 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.299, allocations: 4.375 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.299, allocations: 8.125 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2992, allocations: 101.1 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.2992, allocations: 0 / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2992, allocations: 4 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2992, allocations: 0 / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2994, allocations: 55.83 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.2997, allocations: 219.3 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.2999, allocations: 111.8 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3001, allocations: 58.55 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.3001, allocations: 7.922 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.3004, allocations: 113.9 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3004, allocations: 0 / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004447/0.3009, allocations: 157.5 kB / 0.955 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3009, allocations: 132.5 kB / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3011, allocations: 170.4 kB / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3012, allocations: 33.95 kB / 0.9554 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.3012, allocations: 104.1 kB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3013, allocations: 19.72 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.3013, allocations: 29.7 kB / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3014, allocations: 322.8 kB / 0.9558 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3016, allocations: 27.98 kB / 0.9558 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3017, allocations: 64.27 kB / 0.9559 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3019, allocations: 99.33 kB / 0.956 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3019, allocations: 0 / 0.956 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002996/0.3022, allocations: 141.3 kB / 0.9561 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3022, allocations: 4 kB / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3022, allocations: 0 / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3023, allocations: 4 kB / 0.9561 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3024, allocations: 19.98 kB / 0.9561 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3024, allocations: 0 / 0.9561 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.3025, allocations: 15.92 kB / 0.9562 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3025, allocations: 4.406 kB / 0.9562 GB, free: 2.309 MB / 0.7325 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.0001151/0.3026, allocations: 133.8 kB / 0.9563 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.3027, allocations: 23.75 kB / 0.9563 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.3027, allocations: 13.41 kB / 0.9563 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3027, allocations: 4 kB / 0.9563 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3027, allocations: 3.984 kB / 0.9563 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3027, allocations: 0 / 0.9563 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3029, allocations: 205.5 kB / 0.9565 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3029, allocations: 0 / 0.9565 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.303, allocations: 20 kB / 0.9566 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.303, allocations: 11.91 kB / 0.9566 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.303, allocations: 4 kB / 0.9566 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3031, allocations: 0 / 0.9566 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3031, allocations: 0 / 0.9566 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3034, allocations: 170.7 kB / 0.9567 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.3034, allocations: 85.02 kB / 0.9568 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.3035, allocations: 11.94 kB / 0.9568 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.3035, allocations: 7.984 kB / 0.9568 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3036, allocations: 7.984 kB / 0.9568 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3036, allocations: 8 kB / 0.9568 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001174/0.3037, allocations: 132.2 kB / 0.957 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3038, allocations: 4 kB / 0.957 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002557/0.304, allocations: 35.98 kB / 0.957 GB, free: 1.348 MB / 0.7325 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 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.001034/0.3051, allocations: 447.5 kB / 0.9574 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3054, allocations: 91.88 kB / 0.9575 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3054, allocations: 3.938 kB / 0.9575 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3055, allocations: 35.98 kB / 0.9576 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3058, allocations: 39.84 kB / 0.9576 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3063, allocations: 294.6 kB / 0.9579 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3066, allocations: 0.7041 MB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.3066, allocations: 27.42 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3066, allocations: 0 / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.004633/0.3113, allocations: 2.188 MB / 0.9607 GB, free: 13.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches