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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 199.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002807/0.002807, allocations: 68.03 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.9063, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003259/0.9095, allocations: 1.475 MB / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005506/0.9101, allocations: 192.7 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.9101, allocations: 0 / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.9102, allocations: 3.938 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.9104, allocations: 19.86 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.9106, allocations: 58.8 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.9108, allocations: 59.83 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.9109, allocations: 7.938 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.9109, allocations: 19.98 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.911, allocations: 27.89 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.911, allocations: 4 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.9111, allocations: 4 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.9111, allocations: 19.88 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.9111, allocations: 15.92 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.9113, allocations: 55.59 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9113, allocations: 8 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9113, allocations: 0 / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.9113, allocations: 0 / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006228/0.9119, allocations: 354.1 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.9119, allocations: 8.031 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.912, allocations: 4.938 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.9121, allocations: 172.3 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.9122, allocations: 384 / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.9122, allocations: 8.359 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.9123, allocations: 72.77 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9124, allocations: 4.172 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.9124, allocations: 11.92 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9124, allocations: 0 / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.9124, allocations: 16 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.9129, allocations: 268.9 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.913, allocations: 42.52 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.913, allocations: 16.94 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.913, allocations: 0 / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.9132, allocations: 59.39 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.9132, allocations: 0 / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002607/0.9135, allocations: 85.56 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.9136, allocations: 106.8 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.9137, allocations: 109.8 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.9137, allocations: 25.7 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.9138, allocations: 84.14 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.9138, allocations: 15.88 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.9139, allocations: 21.7 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.9141, allocations: 318.8 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.9141, allocations: 8 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.9141, allocations: 42.56 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.9142, allocations: 25.22 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9142, allocations: 4 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001134/0.9143, allocations: 61.59 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9143, allocations: 4 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.9143, allocations: 4 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9144, allocations: 3.984 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.9144, allocations: 4 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9144, allocations: 4.031 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.9146, allocations: 13.86 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.9146, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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.0001055/0.9147, allocations: 121.7 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.9147, allocations: 0 / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.9147, allocations: 11.5 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9147, allocations: 0 / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9147, allocations: 0 / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.9147, allocations: 3.984 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.9149, allocations: 173.5 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9149, allocations: 0 / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.915, allocations: 11.98 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.915, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.915, allocations: 3.938 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.915, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.915, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.9151, allocations: 89.06 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.9152, allocations: 85.33 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.9152, allocations: 4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9153, allocations: 7.984 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.9154, allocations: 19.91 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.9154, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.9155, allocations: 83.34 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9155, allocations: 4 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001915/0.9156, allocations: 12 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000134/0.9158, allocations: 107.8 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.9159, allocations: 27.94 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9159, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.916, allocations: 15.98 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.9161, allocations: 3.938 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.9165, allocations: 139 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.9168, allocations: 0.6884 MB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.9169, allocations: 8 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.9169, allocations: 11.44 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.9169, allocations: 0 / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.003589/0.9205, allocations: 0.8998 MB / 1.28 GB, free: 13.73 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.282239578198642]