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.001435/0.001435, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001739/0.001739, allocations: 169 kB / 23.82 MB, free: 0.7422 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.016/1.016, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.867/1.867, allocations: 359 MB / 0.6052 GB, free: 11.03 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.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.315e-05, allocations: 3.594 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003058/0.003091, allocations: 1.517 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005197/0.00361, allocations: 193.4 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.003664, allocations: 6.406 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.003701, allocations: 3.938 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.003988, allocations: 19.8 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.004182, allocations: 59.78 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.004282, allocations: 63.84 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.00438, allocations: 9.797 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.034e-05/0.00446, allocations: 35.91 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.004547, allocations: 15.97 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.00457, allocations: 4 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.004584, allocations: 8 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.004608, allocations: 16.56 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.004648, allocations: 17.34 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.004747, allocations: 39.94 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.00475, allocations: 0 / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004752, allocations: 0 / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.004756, allocations: 1.125 kB / 0.7891 GB, free: 10.47 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.0004549/0.005211, allocations: 384.5 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.005257, allocations: 12.03 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.005302, allocations: 5.75 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.0054, allocations: 128.4 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.005414, allocations: 1.281 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.00543, allocations: 8.359 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.005583, allocations: 144 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.005592, allocations: 192 / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.005604, allocations: 4.375 kB / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.005611, allocations: 384 / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.00565, allocations: 19.91 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.006033, allocations: 275.7 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.006126, allocations: 47.55 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.006152, allocations: 16.41 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.006161, allocations: 4 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.006266, allocations: 73.5 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.006267, allocations: 5.656 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001742/0.006442, allocations: 69.67 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.006498, allocations: 102.8 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.006581, allocations: 165.9 kB / 0.7905 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.006595, allocations: 26.2 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.006647, allocations: 139.4 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.006666, allocations: 11.89 kB / 0.7906 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.006706, allocations: 32.19 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.006824, allocations: 0.4884 MB / 0.7911 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.006845, allocations: 5.156 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.006906, allocations: 98.39 kB / 0.7912 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.006952, allocations: 27.69 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.006955, allocations: 5.359 kB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.889e-05/0.007044, allocations: 61.59 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.00706, allocations: 7.984 kB / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.007065, allocations: 0 / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.00708, allocations: 2.25 kB / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.00716, allocations: 11.94 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007166, allocations: 0 / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.007228, allocations: 19.98 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.007235, allocations: 0.8438 kB / 0.7914 GB, free: 7.84 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 7.411e-05/0.007309, allocations: 156.6 kB / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.007323, allocations: 13.22 kB / 0.7915 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.007346, allocations: 7.75 kB / 0.7915 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.007348, allocations: 0 / 0.7915 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007352, allocations: 0.8438 kB / 0.7915 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.007357, allocations: 3.984 kB / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.906e-05/0.007446, allocations: 129.9 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007447, allocations: 0 / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.007463, allocations: 4 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007465, allocations: 0 / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.007473, allocations: 5.25 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007474, allocations: 4 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007475, allocations: 0 / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.007582, allocations: 105.9 kB / 0.7918 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.007612, allocations: 7.938 kB / 0.7918 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.007635, allocations: 11.92 kB / 0.7918 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.007682, allocations: 10.03 kB / 0.7918 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.007716, allocations: 6.766 kB / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.00772, allocations: 0 / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.007763, allocations: 127.2 kB / 0.7919 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007763, allocations: 0 / 0.7919 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001391/0.007902, allocations: 15.95 kB / 0.792 GB, free: 7.184 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 9.711e-05/0.007999, allocations: 107.2 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.008107, allocations: 40.36 kB / 0.7921 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008109, allocations: 0 / 0.7921 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.008139, allocations: 24.22 kB / 0.7921 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.008262, allocations: 15.73 kB / 0.7921 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.008723, allocations: 142.1 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.008757, allocations: 55.36 kB / 0.7923 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.008791, allocations: 4.844 kB / 0.7923 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.008827, allocations: 16.48 kB / 0.7923 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of SimCode: time 1.103e-06/0.008828, allocations: 0.6562 kB / 0.7923 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.002813/0.01164, allocations: 0.9817 MB / 0.7933 GB, free: 5.816 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.323279032949358]