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.001872/0.001872, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002273/0.002273, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.463/1.463, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.767/2.767, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 2.525e-06/2.525e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.589e-05, allocations: 7.156 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003207/0.003243, allocations: 1.478 MB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005257/0.003769, allocations: 176.7 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.003829, allocations: 0.75 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.00386, allocations: 7.938 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.004135, allocations: 28.53 kB / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.004366, allocations: 56.41 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.004509, allocations: 68.64 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.004604, allocations: 3.984 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.004731, allocations: 33.23 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.004827, allocations: 27.89 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.004854, allocations: 4 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.004876, allocations: 8 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.004905, allocations: 9.484 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.004968, allocations: 19.92 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.005122, allocations: 63.83 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.005126, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005127, allocations: 1.219 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.005133, allocations: 0 / 0.7883 GB, free: 10.8 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.0007184/0.005852, allocations: 278.8 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.005901, allocations: 12.02 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.005974, allocations: 10.34 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.006137, allocations: 121.7 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.006155, allocations: 384 / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.006174, allocations: 4.375 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.006397, allocations: 129.1 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006406, allocations: 192 / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.00642, allocations: 0.875 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006425, allocations: 5.188 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.006499, allocations: 23.86 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.007031, allocations: 221.5 kB / 0.7891 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.007175, allocations: 42.52 kB / 0.7891 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.007225, allocations: 21.53 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.007239, allocations: 5.094 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.007484, allocations: 67.33 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.007485, allocations: 0 / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002907/0.007776, allocations: 84.73 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.007879, allocations: 114.7 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.007987, allocations: 101.9 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.008013, allocations: 25.7 kB / 0.7895 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.008087, allocations: 92.12 kB / 0.7896 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.008121, allocations: 15.91 kB / 0.7896 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.00819, allocations: 29.7 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.00837, allocations: 310.8 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.008411, allocations: 12.72 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.008533, allocations: 93.95 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.00861, allocations: 38.5 kB / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008612, allocations: 0 / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/0.008773, allocations: 81.52 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.00879, allocations: 4 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008795, allocations: 1.25 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.008815, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.008899, allocations: 8 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.008905, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.009023, allocations: 9.578 kB / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.009035, allocations: 4.5 kB / 0.7902 GB, free: 8.648 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 0.0001203/0.009156, allocations: 115.5 kB / 0.7903 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.009184, allocations: 11.92 kB / 0.7903 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.00921, allocations: 7.812 kB / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009212, allocations: 0 / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.009218, allocations: 0 / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.00922, allocations: 0.9062 kB / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.009364, allocations: 113.3 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009365, allocations: 0 / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.0094, allocations: 4.531 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009403, allocations: 0.5938 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.009414, allocations: 11.81 kB / 0.7905 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009415, allocations: 4.531 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.009419, allocations: 5.203 kB / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.009598, allocations: 97.08 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.00964, allocations: 11.97 kB / 0.7906 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.009665, allocations: 4.469 kB / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.009779, allocations: 15.86 kB / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.009831, allocations: 4 kB / 0.7906 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.00984, allocations: 3.984 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.905e-05/0.009909, allocations: 83.28 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009909, allocations: 5.156 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002134/0.01012, allocations: 8 kB / 0.7907 GB, free: 8.102 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 0.0001493/0.01027, allocations: 104.2 kB / 0.7908 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.01043, allocations: 39.91 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01043, allocations: 1.75 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.01048, allocations: 19.98 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01065, allocations: 4 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.01103, allocations: 140.4 kB / 0.791 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.846e-05/0.01111, allocations: 68.17 kB / 0.7911 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.01115, allocations: 6.188 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.01119, allocations: 12.5 kB / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01119, allocations: 0 / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.004052/0.01524, allocations: 0.9916 MB / 0.792 GB, free: 6.754 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.76971748995129]