Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001173/0.001173, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001205/0.001205, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9798/0.9798, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.815/1.815, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.857e-05, allocations: 10.5 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001778/0.001797, allocations: 1.502 MB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003748/0.002172, allocations: 191.2 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.002222, allocations: 1.406 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.002255, allocations: 7.922 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.002515, allocations: 20.92 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.002681, allocations: 59.78 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.002787, allocations: 63.78 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.002903, allocations: 9.547 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.225e-05/0.002995, allocations: 35.97 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.003083, allocations: 15.92 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.003113, allocations: 4 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.003126, allocations: 4.5 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.003156, allocations: 21.53 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.003206, allocations: 19.92 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003338, allocations: 39.94 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.003341, allocations: 0 / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003342, allocations: 0.9062 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.003348, allocations: 0 / 0.7891 GB, free: 10.78 MB / 0.7448 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.0005599/0.003908, allocations: 389.1 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.003958, allocations: 8.031 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.004018, allocations: 10.25 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.004135, allocations: 116.6 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.004158, allocations: 4.375 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004175, allocations: 4.375 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.004378, allocations: 147.4 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.004388, allocations: 4.172 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.004401, allocations: 384 / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.004415, allocations: 16 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.004455, allocations: 8 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.004894, allocations: 277.9 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.004996, allocations: 43.05 kB / 0.79 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.005028, allocations: 23.62 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.005035, allocations: 0 / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.005155, allocations: 69.8 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.005156, allocations: 0 / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002082/0.005364, allocations: 70.17 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.005428, allocations: 116.4 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.00552, allocations: 165.9 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.005536, allocations: 29.7 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.005588, allocations: 130.8 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.005611, allocations: 15.91 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.005649, allocations: 32.02 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.005778, allocations: 493.3 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.005803, allocations: 15.98 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.005862, allocations: 90.44 kB / 0.7912 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.005915, allocations: 28.84 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005917, allocations: 0 / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.719e-05/0.006004, allocations: 73.58 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.00602, allocations: 5.375 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.006026, allocations: 4 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.006043, allocations: 0 / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.006125, allocations: 11.98 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.006131, allocations: 1.75 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.006193, allocations: 8.5 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.006201, allocations: 0 / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.561e-05/0.006287, allocations: 164.6 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.0063, allocations: 8.812 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.006322, allocations: 3.812 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.006326, allocations: 9.562 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.006331, allocations: 0 / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.006336, allocations: 0 / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.119e-05/0.006427, allocations: 124.6 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006428, allocations: 1.156 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.006441, allocations: 7.938 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006444, allocations: 7.875 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.006453, allocations: 11.17 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006454, allocations: 0 / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006455, allocations: 0 / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.006553, allocations: 96.44 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.006585, allocations: 11.92 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.006609, allocations: 7.938 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.006646, allocations: 7.984 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.00669, allocations: 4 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.006694, allocations: 0 / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.006741, allocations: 131.7 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006741, allocations: 1.938 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001334/0.006874, allocations: 15.95 kB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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 8.666e-05/0.006961, allocations: 103.2 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.007079, allocations: 35.67 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007081, allocations: 2.469 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.007121, allocations: 23.92 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.007255, allocations: 10.98 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.007726, allocations: 144.1 kB / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.007761, allocations: 59.34 kB / 0.7923 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.007795, allocations: 12.86 kB / 0.7923 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.007824, allocations: 8.5 kB / 0.7923 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.007825, allocations: 0.8438 kB / 0.7923 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.002623/0.01045, allocations: 0.9919 MB / 0.7933 GB, free: 6.129 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.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.314748232020065]