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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007732/0.007731, allocations: 102.8 kB / 15.73 MB, free: 6.051 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.002016/0.002016, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.12 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.9259, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003108/0.9291, allocations: 1.692 MB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.9314, allocations: 1.499 MB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.9315, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.9318, allocations: 47.77 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.9321, allocations: 67.56 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.9325, allocations: 122.5 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.9327, allocations: 123.6 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.9327, allocations: 9.125 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.9329, allocations: 55.7 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.9331, allocations: 51.77 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.9331, allocations: 8 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.9333, allocations: 63.97 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.9333, allocations: 23.91 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.9334, allocations: 35.75 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.9337, allocations: 163.3 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9337, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9337, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9337, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 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.0006682/0.9344, allocations: 436.8 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9344, allocations: 8.031 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.9345, allocations: 12.84 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.9349, allocations: 225.2 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.9349, allocations: 4.312 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.9349, allocations: 7.938 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.9351, allocations: 101 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9352, allocations: 4 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.9352, allocations: 3.984 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9352, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.9354, allocations: 51.91 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.9356, allocations: 207.5 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.9359, allocations: 115.7 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.936, allocations: 50.61 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.9361, allocations: 3.984 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.9363, allocations: 113.9 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.9363, allocations: 0 / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000491/0.9368, allocations: 165.6 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.9369, allocations: 136.5 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.9371, allocations: 182.8 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.9371, allocations: 25.7 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.9372, allocations: 104.1 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.9372, allocations: 31.58 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.9373, allocations: 21.72 kB / 1.213 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9374, allocations: 326.8 kB / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.9375, allocations: 31.97 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.9376, allocations: 64.27 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.9378, allocations: 95.38 kB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9379, allocations: 3.938 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002897/0.9382, allocations: 129.5 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.9382, allocations: 4 kB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9382, allocations: 4 kB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9382, allocations: 96 / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.9383, allocations: 27.92 kB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.9384, allocations: 0 / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.9384, allocations: 15.91 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.9385, allocations: 7.984 kB / 1.214 GB, free: 6.688 MB / 0.9356 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.0001164/0.9386, allocations: 122.1 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.9386, allocations: 7.906 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.9387, allocations: 29.39 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9387, allocations: 3.938 kB / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9387, allocations: 4 kB / 1.214 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9387, allocations: 4 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.9389, allocations: 213.4 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9389, allocations: 0 / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.939, allocations: 15.92 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.939, allocations: 4 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.939, allocations: 0 / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.939, allocations: 0 / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.939, allocations: 4 kB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.9393, allocations: 166.6 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.9394, allocations: 88.92 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.9394, allocations: 3.984 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.9395, allocations: 8 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.9396, allocations: 19.92 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.9396, allocations: 192 / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001106/0.9397, allocations: 135.2 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9397, allocations: 3.938 kB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000257/0.94, allocations: 28 kB / 1.215 GB, free: 5.734 MB / 0.9356 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.001133/0.9411, allocations: 463.5 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.9414, allocations: 79.89 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9414, allocations: 0 / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.9416, allocations: 43.91 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.9419, allocations: 36.23 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.9424, allocations: 236.9 kB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.9427, allocations: 0.7002 MB / 1.216 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.333e-05/0.9428, allocations: 28.8 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.9429, allocations: 27.42 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9429, allocations: 0 / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.005336/0.9482, allocations: 2.075 MB / 1.219 GB, free: 2.199 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) 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) Reference file matches