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.001009/0.001009, allocations: 92.22 kB / 19.65 MB, free: 276 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.001133/0.001133, allocations: 169 kB / 23.02 MB, free: 1.551 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.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 2.138/2.138, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|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.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.468e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00226/0.002284, allocations: 1.752 MB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.00409, allocations: 1.785 MB / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.004169, allocations: 4 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.004464, allocations: 39.7 kB / 0.8817 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.004793, allocations: 111.3 kB / 0.8818 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.004981, allocations: 96.52 kB / 0.8819 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.005166, allocations: 143.4 kB / 0.882 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.005211, allocations: 18.67 kB / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.005389, allocations: 87.67 kB / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.00551, allocations: 41.02 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005529, allocations: 8 kB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.005688, allocations: 111.9 kB / 0.8822 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.005739, allocations: 24.89 kB / 0.8823 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.005785, allocations: 31.91 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.006049, allocations: 183.3 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.006052, allocations: 1.062 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/0.006053, allocations: 3.984 kB / 0.8825 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.006058, allocations: 0 / 0.8825 GB, free: 1.91 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.0005249/0.006583, allocations: 492.1 kB / 0.8829 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.006619, allocations: 9.312 kB / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.006748, allocations: 20.84 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.006958, allocations: 177.7 kB / 0.8831 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.006979, allocations: 4.375 kB / 0.8831 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.006994, allocations: 5.75 kB / 0.8832 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.007175, allocations: 139.3 kB / 0.8833 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.007186, allocations: 3.938 kB / 0.8833 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.007199, allocations: 4.781 kB / 0.8833 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.007206, allocations: 0 / 0.8833 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.007261, allocations: 20.48 kB / 0.8833 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.007427, allocations: 173.5 kB / 0.8835 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.007573, allocations: 109.2 kB / 0.8836 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.007618, allocations: 35.72 kB / 0.8836 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.007637, allocations: 5.125 kB / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.007766, allocations: 108 kB / 0.8837 GB, free: 432 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.007767, allocations: 4 kB / 0.8837 GB, free: 428 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002568/0.008024, allocations: 117 kB / 0.8838 GB, free: 308 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.008077, allocations: 132.5 kB / 0.884 GB, free: 144 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.008245, allocations: 247.2 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.00826, allocations: 29.7 kB / 0.8842 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.008318, allocations: 162.8 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.008353, allocations: 27.75 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.008393, allocations: 35.36 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.008506, allocations: 0.4923 MB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.008536, allocations: 4.844 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.008594, allocations: 88.12 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.008673, allocations: 75.55 kB / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008675, allocations: 0 / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001223/0.008798, allocations: 97.53 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.008811, allocations: 11.92 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.008817, allocations: 7.938 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.008833, allocations: 0 / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.008924, allocations: 19.98 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.008929, allocations: 0 / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.008967, allocations: 8.094 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.008975, allocations: 4 kB / 0.8852 GB, free: 14.75 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 7.559e-05/0.009051, allocations: 161.4 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.009076, allocations: 28.14 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.009228, allocations: 103.1 kB / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009231, allocations: 4 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.009236, allocations: 4 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.00924, allocations: 3.984 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.00935, allocations: 152.5 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009351, allocations: 0 / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.009392, allocations: 19.98 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009394, allocations: 4 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.009403, allocations: 4 kB / 0.8857 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.009406, allocations: 7.938 kB / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009407, allocations: 3.938 kB / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.009553, allocations: 159.6 kB / 0.8859 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.009572, allocations: 11.91 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.009593, allocations: 8 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-05/0.009627, allocations: 11.92 kB / 0.8859 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.009671, allocations: 11.98 kB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.009685, allocations: 8 kB / 0.8859 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.009768, allocations: 172 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009768, allocations: 3.938 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002026/0.00997, allocations: 55.86 kB / 0.8861 GB, free: 13.75 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.001024/0.01099, allocations: 0.5008 MB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01113, allocations: 47.61 kB / 0.8867 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01113, allocations: 4 kB / 0.8867 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.01118, allocations: 35.61 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01138, allocations: 37.84 kB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.01194, allocations: 259.9 kB / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.01205, allocations: 71.33 kB / 0.8871 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.023e-05/0.0121, allocations: 20.95 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01215, allocations: 20.48 kB / 0.8871 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.01215, allocations: 0 / 0.8871 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.004345/0.01649, allocations: 2.681 MB / 0.8897 GB, free: 10.24 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.639681208878756]