Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009857/0.0009857, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.0009361/0.0009361, allocations: 173 kB / 23.28 MB, free: 1.227 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 0.9098/0.9098, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.329/2.329, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.289e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002143/0.002176, allocations: 1.517 MB / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003469/0.002523, allocations: 183.3 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.00256, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.002585, allocations: 7.875 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.002795, allocations: 19.84 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.002935, allocations: 59.8 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.003018, allocations: 63.78 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.003103, allocations: 11.98 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.003176, allocations: 35.97 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.003241, allocations: 15.91 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.003263, allocations: 8 kB / 0.8916 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.003273, allocations: 4 kB / 0.8916 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.003295, allocations: 19.97 kB / 0.8917 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.003326, allocations: 15.92 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.69e-05/0.003403, allocations: 39.94 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003405, allocations: 4 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003406, allocations: 0 / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003409, allocations: 0 / 0.8917 GB, free: 7.719 MB / 0.8542 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.000384/0.003793, allocations: 392.5 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.003832, allocations: 8.625 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.00386, allocations: 4.938 kB / 0.8921 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.979e-05/0.003929, allocations: 120.5 kB / 0.8922 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003939, allocations: 384 / 0.8922 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.003949, allocations: 4.375 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.004063, allocations: 141.4 kB / 0.8924 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.004069, allocations: 192 / 0.8924 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004077, allocations: 4.375 kB / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004082, allocations: 384 / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.004107, allocations: 23.86 kB / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.004379, allocations: 256.3 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.00445, allocations: 47.11 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.004466, allocations: 11.69 kB / 0.8927 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.004473, allocations: 4 kB / 0.8927 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/0.004561, allocations: 61.08 kB / 0.8928 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.004562, allocations: 0 / 0.8928 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0001267/0.004689, allocations: 77.56 kB / 0.8928 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.004731, allocations: 106.8 kB / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.00479, allocations: 165.9 kB / 0.8931 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.004803, allocations: 33.7 kB / 0.8931 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.004846, allocations: 130.8 kB / 0.8932 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.004864, allocations: 15.89 kB / 0.8933 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.004894, allocations: 27.36 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003716/0.005265, allocations: 0.4922 MB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.005279, allocations: 7.984 kB / 0.8938 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.005323, allocations: 86.45 kB / 0.8939 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.005355, allocations: 23.69 kB / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005356, allocations: 0 / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.097e-05/0.005417, allocations: 58.33 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005428, allocations: 15.97 kB / 0.894 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005432, allocations: 0 / 0.894 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.005441, allocations: 3.984 kB / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.005525, allocations: 15.94 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.005531, allocations: 4.062 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.005594, allocations: 18.59 kB / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.005601, allocations: 4 kB / 0.894 GB, free: 5.125 MB / 0.8542 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 6.525e-05/0.005666, allocations: 160.6 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.005678, allocations: 3.984 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.005698, allocations: 15.75 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005699, allocations: 0 / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.005701, allocations: 0 / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005704, allocations: 0 / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.865e-05/0.005773, allocations: 109.2 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005774, allocations: 0 / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.005783, allocations: 4 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005785, allocations: 0 / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.00579, allocations: 7.922 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00579, allocations: 0 / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.005792, allocations: 3.938 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.596e-05/0.005878, allocations: 104.3 kB / 0.8944 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.005901, allocations: 11.92 kB / 0.8944 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.005915, allocations: 4 kB / 0.8944 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.005951, allocations: 7.984 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.005975, allocations: 7.938 kB / 0.8944 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.005979, allocations: 4 kB / 0.8944 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.006011, allocations: 127.2 kB / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006011, allocations: 0 / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001126/0.006124, allocations: 8 kB / 0.8946 GB, free: 4.496 MB / 0.8542 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.353e-05/0.006207, allocations: 107.5 kB / 0.8947 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.616e-05/0.006294, allocations: 35.61 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006295, allocations: 0 / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.006324, allocations: 23.67 kB / 0.8947 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.006444, allocations: 8 kB / 0.8947 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.006781, allocations: 138.3 kB / 0.8949 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.6e-05/0.006807, allocations: 59.34 kB / 0.8949 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.006831, allocations: 7.938 kB / 0.8949 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.006906, allocations: 90.17 kB / 0.895 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.006907, allocations: 4 kB / 0.895 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of Templates: time 0.002122/0.009029, allocations: 1.066 MB / 0.896 GB, free: 2.945 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.13212208962068]