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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001211/0.001211, allocations: 115.2 kB / 16.37 MB, free: 6.012 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.001197/0.001198, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 62.06 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2267, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002897/0.2296, allocations: 1.676 MB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.2316, allocations: 1.499 MB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.2317, allocations: 7.938 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.2319, allocations: 39.77 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2322, allocations: 59.69 kB / 0.9543 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2325, allocations: 119.6 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.2326, allocations: 127.5 kB / 0.9546 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.2327, allocations: 17.05 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2328, allocations: 55.77 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.233, allocations: 47.77 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.2331, allocations: 8 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.2332, allocations: 63.97 kB / 0.9548 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.2332, allocations: 27.86 kB / 0.9548 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.2333, allocations: 43.72 kB / 0.9548 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.2336, allocations: 147.5 kB / 0.955 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2336, allocations: 0 / 0.955 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2336, allocations: 0 / 0.955 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.2336, allocations: 4 kB / 0.955 GB, free: 4.051 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.0006118/0.2342, allocations: 438.8 kB / 0.9554 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2342, allocations: 12.03 kB / 0.9554 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.2343, allocations: 16.83 kB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.2346, allocations: 220 kB / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.2346, allocations: 384 / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2346, allocations: 8.125 kB / 0.9556 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2348, allocations: 97.08 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.2349, allocations: 4 kB / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2349, allocations: 0 / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2349, allocations: 0 / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.235, allocations: 51.89 kB / 0.9558 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.2353, allocations: 215.3 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.2355, allocations: 119.8 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2356, allocations: 54.55 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2356, allocations: 0 / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.2359, allocations: 121.8 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2359, allocations: 0 / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004305/0.2364, allocations: 161.7 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.2364, allocations: 136.5 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2366, allocations: 179.9 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2366, allocations: 25.7 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.2367, allocations: 104.1 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.2367, allocations: 15.72 kB / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.2368, allocations: 29.7 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.2369, allocations: 322.8 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.237, allocations: 32.02 kB / 0.9572 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.2371, allocations: 68.45 kB / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.2373, allocations: 103.4 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2373, allocations: 3.938 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000277/0.2376, allocations: 137.3 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2376, allocations: 4 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2376, allocations: 4 kB / 0.9575 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2376, allocations: 4.094 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2377, allocations: 19.98 kB / 0.9576 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2378, allocations: 4 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.2378, allocations: 11.92 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2379, allocations: 4 kB / 0.9576 GB, free: 1.059 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 9.968e-05/0.238, allocations: 135.6 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.238, allocations: 11.81 kB / 0.9577 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.51e-05/0.2381, allocations: 17.41 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2381, allocations: 4 kB / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2381, allocations: 0 / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2381, allocations: 7.984 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2383, allocations: 201.5 kB / 0.9579 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2383, allocations: 0 / 0.9579 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.2384, allocations: 15.98 kB / 0.9579 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2384, allocations: 4 kB / 0.9579 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2384, allocations: 3.984 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2384, allocations: 4 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2384, allocations: 0 / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.2388, allocations: 174.5 kB / 0.9581 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2388, allocations: 85.02 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2389, allocations: 8.062 kB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.2389, allocations: 11.98 kB / 0.9582 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.239, allocations: 11.98 kB / 0.9582 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.239, allocations: 8 kB / 0.9582 GB, free: 272 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001434/0.2392, allocations: 127.2 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2392, allocations: 0 / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000229/0.2394, allocations: 31.98 kB / 0.9584 GB, free: 112 kB / 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.0009834/0.2404, allocations: 457 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2407, allocations: 83.89 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2407, allocations: 0 / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.2409, allocations: 44.16 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.2411, allocations: 38.28 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.2416, allocations: 242.9 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.242, allocations: 0.7002 MB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.271e-05/0.2421, allocations: 32.83 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.2421, allocations: 19.44 kB / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2421, allocations: 0 / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of Templates: time 0.004518/0.2466, allocations: 2.028 MB / 0.9619 GB, free: 12.62 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 -s cvode -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